diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-20 17:20:36 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-20 17:20:36 -0400 |
commit | fee72c26afff2120315ebbab32708520307e7a5e (patch) | |
tree | d9d09053fdaec65c3c54692a875490579460ef6f /src/cairo-directfb.h | |
parent | e00565fa3c9579566abb31b71af3f13f44c45139 (diff) |
Make sure feature macros are checked using #if, not #ifdef; add a test for it
This is more robust to cases where people want to assign 0 to those variables.
(win32/alternate build systems, etc)
Diffstat (limited to 'src/cairo-directfb.h')
-rw-r--r-- | src/cairo-directfb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-directfb.h b/src/cairo-directfb.h index 6b3fcbdf..0396cb13 100644 --- a/src/cairo-directfb.h +++ b/src/cairo-directfb.h @@ -49,7 +49,7 @@ #include "cairo.h" -#ifdef CAIRO_HAS_DIRECTFB_SURFACE +#if CAIRO_HAS_DIRECTFB_SURFACE #include <directfb.h> |