summaryrefslogtreecommitdiff
path: root/src/cairo-os2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-os2.h')
-rw-r--r--src/cairo-os2.h2
1 files changed, 2 insertions, 0 deletions
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