From c89a609be263f6848b18df7aa86a12fe84b7693a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 23 Apr 2016 14:25:15 +0000 Subject: [PATCH] Fix compilation warnings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/x.H | 4 ++-- 1 file 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 # include -# 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