summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-04-23 14:25:15 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-04-23 14:25:15 +0000
commitc89a609be263f6848b18df7aa86a12fe84b7693a (patch)
tree0eff4384de1d447b6596d5166a2995aeee5621fb
parentba60624ae9cad28aed7ab2595819df0d660ab338 (diff)
Fix compilation warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/x.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/x.H b/FL/x.H
index 005c1fc7e..7083164f8 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -41,7 +41,7 @@ class Fl_Window;
# else // X11
# include <FL/fl_types.h>
# include <FL/Enumerations.H>
-# ifndef USE_X11
+# if !defined(USE_X11)
# define USE_X11 1
# endif
# if defined(_ABIN32) || defined(_ABI64) // fix for broken SGI Irix X .h files
@@ -126,7 +126,7 @@ public:
// static variables, static functions and member functions
static Fl_X* first;
static Fl_X* i(const Fl_Window* w) {return (Fl_X*)w->i;}
-# if USE_X11 // for backward compatibility
+# if defined(USE_X11) // for backward compatibility
static void make_xid(Fl_Window*, XVisualInfo* =fl_visual, Colormap=fl_colormap);
static Fl_X* set_xid(Fl_Window*, Window);
# endif