diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-06-14 10:45:18 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-06-14 15:25:08 +0200 |
commit | 45665c0d48396af7bd653d546115a5f36cfa9ae1 (patch) | |
tree | 51384068ea22a4dea12635ceaf2969a92100e5f9 /src/cairo-xlib-xcb-surface.c | |
parent | 9d256b7db90ba0517a2d06a7c99f8e59021c1d6a (diff) | |
download | cairo-45665c0d48396af7bd653d546115a5f36cfa9ae1.tar.gz |
Remove if's from Makefile.sources
make on win32 complains that:
make[1]: Entering directory `/home/ranma42/Code/fdo/cairo/src'
../src/Makefile.sources:220: *** missing separator. Stop.
Makefile.sources should not contain if's, which are aoutomake-only
conditionals. The correct way to conditionally include files is to
enable/disable them using C preprocessor macros.
Diffstat (limited to 'src/cairo-xlib-xcb-surface.c')
-rw-r--r-- | src/cairo-xlib-xcb-surface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-xlib-xcb-surface.c b/src/cairo-xlib-xcb-surface.c index 84e9e3399..9c5eb5a8a 100644 --- a/src/cairo-xlib-xcb-surface.c +++ b/src/cairo-xlib-xcb-surface.c @@ -38,6 +38,8 @@ #include "cairoint.h" +#if CAIRO_HAS_XLIB_XCB_FUNCTIONS + #include "cairo-xlib.h" #include "cairo-xcb.h" @@ -537,3 +539,5 @@ cairo_xlib_surface_get_height (cairo_surface_t *abstract_surface) return surface->xcb->height; } + +#endif /* CAIRO_HAS_XLIB_XCB_FUNCTIONS */ |