summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-03-13 04:55:18 -0400
committerBehdad Esfahbod <behdad@behdad.org>2007-03-13 05:14:18 -0400
commit2894ed19a3acd955a5d0e2f5a231a6f1eee8ac06 (patch)
tree664beebc050b01be09b1a4843c72b3702105704f /src
parent073d06d4661feb16b15ece5282a5134e3f05d8e7 (diff)
[directfb,os2] #error if the backend is not compiled in, like others do
Diffstat (limited to 'src')
-rw-r--r--src/cairo-directfb.h3
-rw-r--r--src/cairo-os2.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-directfb.h b/src/cairo-directfb.h
index 845f3de6..795a0dc1 100644
--- a/src/cairo-directfb.h
+++ b/src/cairo-directfb.h
@@ -48,5 +48,8 @@ cairo_directfb_surface_create (IDirectFB *dfb,IDirectFBSurface *surface);
CAIRO_END_DECLS
+#else /*CAIRO_HAS_DIRECTFB_SURFACE*/
+# error Cairo was not compiled with support for the directfb backend
#endif /*CAIRO_HAS_DIRECTFB_SURFACE*/
+
#endif /*CAIRO_DIRECTFB_H*/
diff --git a/src/cairo-os2.h b/src/cairo-os2.h
index 3e1b4aad..6a6c04d5 100644
--- a/src/cairo-os2.h
+++ b/src/cairo-os2.h
@@ -194,6 +194,8 @@ cairo_os2_surface_set_manual_window_refresh (cairo_surface_t *surface,
cairo_public cairo_bool_t
cairo_os2_surface_get_manual_window_refresh (cairo_surface_t *surface);
+#else /* CAIRO_HAS_OS2_SURFACE */
+# error Cairo was not compiled with support for the OS/2 backend
#endif /* CAIRO_HAS_OS2_SURFACE */
CAIRO_END_DECLS