Use FL_CFG_WIN_X11 when appropriate
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
e840f496a9
commit
120e8dca56
@ -16,9 +16,9 @@
|
||||
|
||||
#define KEYSYM2UCS_INCLUDED
|
||||
|
||||
#include <config.h>
|
||||
#include "../config_lib.h"
|
||||
|
||||
#if defined(USE_X11)
|
||||
#if defined(FL_CFG_WIN_X11)
|
||||
|
||||
#include "../Xutf8.h"
|
||||
#include "imKStoUCS.c"
|
||||
@ -27,7 +27,7 @@ long XKeysymToUcs(KeySym keysym) {
|
||||
return (long) KeySymToUcs4(keysym);
|
||||
}
|
||||
|
||||
#endif /* X11 only */
|
||||
#endif /* FL_CFG_WIN_X11 */
|
||||
|
||||
/*
|
||||
* End of "$Id$".
|
||||
|
||||
@ -14,13 +14,13 @@
|
||||
* http://www.fltk.org/str.php
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "../config_lib.h"
|
||||
|
||||
/*
|
||||
* Unicode to UTF-8 conversion functions.
|
||||
*/
|
||||
|
||||
#if defined(USE_X11)
|
||||
#if defined(FL_CFG_WIN_X11)
|
||||
|
||||
#include "../Xutf8.h"
|
||||
|
||||
@ -224,7 +224,7 @@ XFastConvertUtf8ToUcs(const unsigned char *buf,
|
||||
return -1;
|
||||
}
|
||||
|
||||
#endif /* X11 only */
|
||||
#endif /* FL_CFG_WIN_X11 */
|
||||
|
||||
/*
|
||||
* End of "$Id$".
|
||||
|
||||
@ -14,12 +14,12 @@
|
||||
* http://www.fltk.org/str.php
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "../config_lib.h"
|
||||
|
||||
/*
|
||||
* X11 UTF-8 text drawing functions.
|
||||
*/
|
||||
#if defined(USE_X11)
|
||||
#if defined(FL_CFG_WIN_X11)
|
||||
|
||||
#include "../Xutf8.h"
|
||||
#include <X11/Xlib.h>
|
||||
@ -1023,7 +1023,7 @@ XFreeUtf8FontStruct(Display *dpy,
|
||||
free(font_set);
|
||||
}
|
||||
|
||||
#endif /* X11 only */
|
||||
#endif /* FL_CFG_WIN_X11 */
|
||||
|
||||
/*
|
||||
* End of "$Id$".
|
||||
|
||||
Loading…
Reference in New Issue
Block a user