summaryrefslogtreecommitdiff
path: root/glib/gmacros.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-05-31 10:35:38 -0400
committerColin Walters <walters@verbum.org>2011-05-31 10:35:38 -0400
commit2300be5be38e091aeac55720cf51bc98e7f89790 (patch)
tree666590b15eb6150da80d9741a0e7b68979b8dcb2 /glib/gmacros.h
parenta84e6f982f465b31aec7365dadfe2c1ad6664e11 (diff)
downloadglib-2300be5be38e091aeac55720cf51bc98e7f89790.tar.gz
Consistently use G_GNUC_EXTENSION instead of __extension__
g-ir-scanner doesn't like __extension__, and while I can add it, since we have this macro, we should be using it consistently.
Diffstat (limited to 'glib/gmacros.h')
-rw-r--r--glib/gmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gmacros.h b/glib/gmacros.h
index 7c6fb001a..aed6d09d2 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.h
@@ -267,7 +267,7 @@
*/
#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
#define _G_BOOLEAN_EXPR(expr) \
- __extension__ ({ \
+ G_GNUC_EXTENSION ({ \
int _g_boolean_var_; \
if (expr) \
_g_boolean_var_ = 1; \