Try to fix building on OSX (and I assume WIN32) following

some changes introduced in r10248 that were causing issues
with including X11.h on non-X11 platforms.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Ian MacArthur 2014-08-24 21:23:34 +00:00
parent 3b1e7f31b9
commit 22beee52af

View File

@ -18,9 +18,11 @@
* This file is required on all platforms for utf8 support
*/
#include "../Xutf8.h"
#if !defined(WIN32) && !defined(__APPLE__)
# include "../Xutf8.h"
#endif /* !defined(WIN32) && !defined(__APPLE__) */
unsigned short
unsigned short
XUtf8IsRightToLeft(unsigned int ucs) {
#if 0
@ -36,7 +38,7 @@ XUtf8IsRightToLeft(unsigned int ucs) {
if (ucs >= 0x0591) return 1;
return 0;
}
/* ARABIC */
if (ucs <= 0x06ED) {
if (ucs >= 0x060C) return 1;
@ -58,7 +60,7 @@ XUtf8IsRightToLeft(unsigned int ucs) {
if (ucs >= 0xFB1E) return 1;
return 0;
}
if (ucs <= 0xFDFB) {
if (ucs >= 0xFB50) return 1;
return 0;