summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Xutf8.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Xutf8.h b/FL/Xutf8.h
index 1e26cf97d..51fc28291 100644
--- a/FL/Xutf8.h
+++ b/FL/Xutf8.h
@@ -142,6 +142,9 @@ long
XKeysymToUcs(
KeySym keysym);
+#ifdef X_HAVE_UTF8_STRING
+#define XUtf8LookupString Xutf8LookupString
+#else
int
XUtf8LookupString(
XIC ic,
@@ -150,6 +153,7 @@ XUtf8LookupString(
int bytes_buffer,
KeySym* keysym,
Status* status_return);
+#endif
unsigned short
XUtf8IsNonSpacing(