summaryrefslogtreecommitdiff
path: root/src/Fl_Device.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-27 22:35:58 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-27 22:35:58 +0000
commit780f43a4f14f56678c503fa279517c418b697877 (patch)
treefdb76e5f5b0b47ca652b497e5c096d60d0a67c54 /src/Fl_Device.cxx
parent6177c23d901c8748fd908b3bd1106b403f017d7f (diff)
Removed all references to Quartz driver files from library headers in Xcode. Works in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Device.cxx')
-rw-r--r--src/Fl_Device.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx
index 418157b7e..0dffc580c 100644
--- a/src/Fl_Device.cxx
+++ b/src/Fl_Device.cxx
@@ -20,6 +20,11 @@
#include <FL/Fl_Device.H>
#include <FL/Fl_Image.H>
+#include "config_lib.h"
+#ifdef FL_CFG_GFX_QUARTZ
+#include "drivers/Quartz/Fl_Quartz_Graphics_Driver.h"
+#endif
+
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: instantiate and implement various device drivers here"
@@ -31,7 +36,6 @@ const char *Fl_Surface_Device::class_id = "Fl_Surface_Device";
const char *Fl_Display_Device::class_id = "Fl_Display_Device";
const char *Fl_Graphics_Driver::class_id = "Fl_Graphics_Driver";
#if defined(__APPLE__) || defined(FL_DOXYGEN)
-const char *Fl_Quartz_Graphics_Driver::class_id = "Fl_Quartz_Graphics_Driver";
# ifndef FL_DOXYGEN
bool Fl_Display_Device::high_res_window_ = false;
# endif