aboutsummaryrefslogtreecommitdiffstats
path: root/method-quartz-cg.h
diff options
context:
space:
mode:
Diffstat (limited to 'method-quartz-cg.h')
-rw-r--r--method-quartz-cg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/method-quartz-cg.h b/method-quartz-cg.h
index 83ee61a..96effa5 100644
--- a/method-quartz-cg.h
+++ b/method-quartz-cg.h
@@ -1,11 +1,11 @@
/* See LICENSE file for copyright and license details. */
-#ifdef FAKE_LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS
-# include "fake-quartz-cg.h"
-#else
-# include <ApplicationServices/ApplicationServices.h>
-# include <CoreGraphics/CGDirectDisplay.h>
-# define close_fake_quartz_cg() /* For compatibility with "fake-quartz-cg.h" */
+#ifdef IN_LIBGAMMA_QUARTZ_CG
+# ifndef FAKE_LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS
+# include <ApplicationServices/ApplicationServices.h>
+# include <CoreGraphics/CGDirectDisplay.h>
+# define close_fake_quartz_cg() /* For compatibility with "fake-quartz-cg.h" */
+# endif
#endif