summaryrefslogtreecommitdiff
path: root/cogl/cogl-util.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-12-29 02:00:00 +0000
committerRobert Bragg <robert@linux.intel.com>2013-01-21 14:20:34 +0000
commit693fe177b05b9e65f9225d019dc8fdd2283d32de (patch)
treea072cc99ef8f60ce3ee3ea163e78bd9996e1514d /cogl/cogl-util.c
parente0f5167540069d7320a34757c775346985d1f73a (diff)
downloadcogl-693fe177b05b9e65f9225d019dc8fdd2283d32de.tar.gz
Don't use #if with defines that are either defined or not
COGL_HAS_* and COGL_ENABLE_DEBUG are either defined in config.h or not. So let's test against this, not against their truth value, this allow us to use -Wundef to catch undefined macros in preprocessor directives. (cherry picked from commit 73b62832f24711073b0876a6c0f5c61727842c1c)
Diffstat (limited to 'cogl/cogl-util.c')
0 files changed, 0 insertions, 0 deletions