diff options
author | Karel Zak | 2007-01-30 13:49:50 +0100 |
---|---|---|
committer | Karel Zak | 2007-01-30 13:49:50 +0100 |
commit | 06b04b23cdff2f038e4f341a1247c51b5261f332 (patch) | |
tree | 0f454ed17bcacc6fdd14b6db2c3375b90fadab4b /text-utils/ul.c | |
parent | tests: add return code (diff) | |
download | kernel-qcow2-util-linux-06b04b23cdff2f038e4f341a1247c51b5261f332.tar.gz kernel-qcow2-util-linux-06b04b23cdff2f038e4f341a1247c51b5261f332.tar.xz kernel-qcow2-util-linux-06b04b23cdff2f038e4f341a1247c51b5261f332.zip |
build-sys: fix ifdef ENABLE_WIDECHAR usage
There has been unexpected mix of HAVE_WIDECHAR and ENABLE_WIDECHAR macros. The
ENABLE_WIDECHAR is old version and has to be replaced everywhere otherwise we
will see bugs with multibyte stuff.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/ul.c')
-rw-r--r-- | text-utils/ul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/ul.c b/text-utils/ul.c index 6396f2dfe..76c0a9703 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -50,7 +50,7 @@ #include "widechar.h" -#ifdef ENABLE_WIDECHAR +#ifdef HAVE_WIDECHAR static int put1wc(int c) /* Output an ASCII character as a wide character */ { if (putwchar(c) == WEOF) |