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-glitz.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-glitz.h')
-rw-r--r-- | src/cairo-glitz.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-glitz.h b/src/cairo-glitz.h index bf812487d..f5b4f2815 100644 --- a/src/cairo-glitz.h +++ b/src/cairo-glitz.h @@ -50,5 +50,8 @@ cairo_glitz_surface_create (glitz_surface_t *surface); CAIRO_END_DECLS +#else /* CAIRO_HAS_GLITZ_SURFACE */ +# error Cairo was not compiled with support for the glitz backend #endif /* CAIRO_HAS_GLITZ_SURFACE */ + #endif /* CAIRO_GLITZ_H */ |