summaryrefslogtreecommitdiff
path: root/cogl/cogl.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-07-02 12:39:56 +0100
committerRobert Bragg <robert@linux.intel.com>2011-07-27 18:46:36 +0100
commitd51c3c423e44939b330ba9833045f52e66d81a53 (patch)
treeb5d801208ca0172958e8a0d4e37dfd0ebf20083e /cogl/cogl.h
parentb8b37f6c41a7685f202278cba76fc85b0e2225b1 (diff)
downloadcogl-d51c3c423e44939b330ba9833045f52e66d81a53.tar.gz
Fix testing of undefined macro constants to check for definedness instead
Reviewed-By: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl.h')
-rw-r--r--cogl/cogl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl.h b/cogl/cogl.h
index 6c783d37..5def2115 100644
--- a/cogl/cogl.h
+++ b/cogl/cogl.h
@@ -93,7 +93,7 @@ typedef struct _CoglFramebuffer CoglFramebuffer;
#include <cogl/cogl-xlib.h>
#include <cogl/cogl-xlib-renderer.h>
#endif
-#if COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT
+#if defined (COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT)
#include <cogl/cogl-wayland-renderer.h>
#endif
/* XXX: This will definitly go away once all the Clutter winsys