diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-05 19:18:09 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-05 19:18:09 +0100 |
commit | 5879cf0c50cecded79224b5207be9a83c204ccad (patch) | |
tree | 248c8b03d86b1679cfdb42b4f274839a8f981272 /method-quartz-cg.h | |
parent | Update todo (diff) | |
download | libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.gz libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.bz2 libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.xz |
Fix support for fake methods
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | method-quartz-cg.h | 12 |
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 |