summaryrefslogtreecommitdiff
path: root/src/cairo-quartz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-quartz.h')
-rw-r--r--src/cairo-quartz.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/cairo-quartz.h b/src/cairo-quartz.h
index 5afd4642..6f59f6a7 100644
--- a/src/cairo-quartz.h
+++ b/src/cairo-quartz.h
@@ -39,18 +39,12 @@
#include <cairo.h>
-#ifdef CAIRO_HAS_QUARTZ_SURFACE
+#if CAIRO_HAS_QUARTZ_SURFACE
#include <Carbon/Carbon.h>
CAIRO_BEGIN_DECLS
-void
-cairo_set_target_quartz_context( cairo_t *cr,
- CGContextRef context,
- int width,
- int height);
-
cairo_surface_t *
cairo_quartz_surface_create ( CGContextRef context,
int width,
@@ -58,6 +52,9 @@ cairo_quartz_surface_create ( CGContextRef context,
CAIRO_END_DECLS
+#else /* CAIRO_HAS_QUARTZ_SURFACE */
+# error Cairo was not compiled with support for the quartz backend
#endif /* CAIRO_HAS_QUARTZ_SURFACE */
+
#endif /* CAIRO_QUARTZ_H */