summaryrefslogtreecommitdiff
path: root/src/gl_draw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl_draw.cxx')
-rw-r--r--src/gl_draw.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx
index 2d501e741..d8500ac75 100644
--- a/src/gl_draw.cxx
+++ b/src/gl_draw.cxx
@@ -38,8 +38,11 @@
#include "Fl_Font.H"
#include <FL/fl_utf8.h>
-#if !defined(WIN32) && !defined(__APPLE__)
-#include "Xutf8.h"
+#if defined(WIN32) || defined(__APPLE__)
+#elif defined(FL_PORTING)
+# pragma message "FL_PORTING: do you want to include Xutf8.h? It's written for X11."
+#else
+# include "Xutf8.h"
#endif
#if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4