summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Native_File_Chooser_GTK.cxx6
-rw-r--r--src/config_lib.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Native_File_Chooser_GTK.cxx b/src/Fl_Native_File_Chooser_GTK.cxx
index 4f10ea4ab..174a951c1 100644
--- a/src/Fl_Native_File_Chooser_GTK.cxx
+++ b/src/Fl_Native_File_Chooser_GTK.cxx
@@ -16,9 +16,9 @@
// http://www.fltk.org/str.php
//
-#include <config.h>
+#include "config_lib.h"
-#ifdef USE_X11
+#ifdef FL_CFG_WIN_X11
#include <FL/x.H>
#include <FL/Fl_Native_File_Chooser.H>
@@ -796,7 +796,7 @@ void Fl_Native_File_Chooser_GTK_Driver::probe_for_GTK_libs(void) {
#endif // HAVE_DLSYM && HAVE_DLFCN_H
} // probe_for_GTK_libs
-#endif // USE_X11
+#endif // FL_CFG_WIN_X11
//
// End of "$Id$".
diff --git a/src/config_lib.h b/src/config_lib.h
index 5ae8a3ff7..465c1bfa6 100644
--- a/src/config_lib.h
+++ b/src/config_lib.h
@@ -63,7 +63,7 @@
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: please choose a window management library"
#else // X11
-# define FL_CFG_GFX_X11
+# define FL_CFG_WIN_X11
#endif
#endif