From 6e72a212719ef9e53ac625694f1874c81882a10c Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Sat, 23 Aug 2014 08:48:31 +0000 Subject: [PATCH] Move the X11 UTF check above in utf8Input to avoid an unused function warning git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/xutf8/utf8Input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,