summaryrefslogtreecommitdiffstats
path: root/text-utils/ul.c
diff options
context:
space:
mode:
authorKarel Zak2007-01-30 13:49:50 +0100
committerKarel Zak2007-01-30 13:49:50 +0100
commit06b04b23cdff2f038e4f341a1247c51b5261f332 (patch)
tree0f454ed17bcacc6fdd14b6db2c3375b90fadab4b /text-utils/ul.c
parenttests: add return code (diff)
downloadkernel-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.c2
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)