diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-01-03 22:30:55 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-01-03 22:54:14 +0000 |
commit | 5f816ccd25d1cd303fc1e9e44e80c1207b2a424a (patch) | |
tree | f6c3dfe185eeea11b22a730ece9ea822b05924db /boilerplate/cairo-boilerplate.h | |
parent | acb2717372f3862ddbde8cfdc814132808b71f86 (diff) |
[boilerplate] Redefine DEBUG() for portability concerns
Behdad warned that using an empty variadic macro was non-portable.
Diffstat (limited to 'boilerplate/cairo-boilerplate.h')
-rw-r--r-- | boilerplate/cairo-boilerplate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate.h b/boilerplate/cairo-boilerplate.h index b2d79a7f..9f4b00cb 100644 --- a/boilerplate/cairo-boilerplate.h +++ b/boilerplate/cairo-boilerplate.h @@ -75,7 +75,7 @@ #endif #ifndef CAIRO_BOILERPLATE_DEBUG -#define CAIRO_BOILERPLATE_DEBUG(...) +#define CAIRO_BOILERPLATE_DEBUG(x) #endif #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) |