diff options
author | Carl Worth <cworth@cworth.org> | 2005-05-14 10:03:56 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-05-14 10:03:56 +0000 |
commit | 95859dc2c6975f072696374b90e1108626a99830 (patch) | |
tree | 3939a0c1659bcf093b43d072c73912c0ea6a8db2 /src/cairo-quartz.h | |
parent | f797eaac1ce939a0a890ab2157f42d2ae3421dda (diff) |
Add an #error if cairo-foo.h is included when cairo was compiled without support for the foo backend.
Diffstat (limited to 'src/cairo-quartz.h')
-rw-r--r-- | src/cairo-quartz.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-quartz.h b/src/cairo-quartz.h index 7ba35eef..6f59f6a7 100644 --- a/src/cairo-quartz.h +++ b/src/cairo-quartz.h @@ -52,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 */ |