summaryrefslogtreecommitdiff
path: root/src/xutf8
diff options
context:
space:
mode:
Diffstat (limited to 'src/xutf8')
-rw-r--r--src/xutf8/utf8Input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c
index f66f8bc77..5682ac7b6 100644
--- a/src/xutf8/utf8Input.c
+++ b/src/xutf8/utf8Input.c
@@ -43,6 +43,7 @@ typedef struct {
unsigned short used;
} Summary16;
+#ifndef X_HAVE_UTF8_STRING
#define NEED_TOWC /* indicates what part of these include files is needed here (avoid compilation warnings) */
#include "lcUniConv/big5.h"
#include "lcUniConv/gb2312.h"
@@ -407,7 +408,6 @@ XConvertEucToUtf8(const char* locale,
return len;
}
-#ifndef X_HAVE_UTF8_STRING
int
XUtf8LookupString(XIC ic,
XKeyPressedEvent* event,