diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-12-29 02:00:00 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-01-21 14:20:34 +0000 |
commit | 693fe177b05b9e65f9225d019dc8fdd2283d32de (patch) | |
tree | a072cc99ef8f60ce3ee3ea163e78bd9996e1514d /cogl/cogl-util.c | |
parent | e0f5167540069d7320a34757c775346985d1f73a (diff) | |
download | cogl-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