From f96f290c6332e5b48cee8407d2f917ae9e6adbed Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Fri, 27 Jul 2001 10:46:13 +0000 Subject: [PATCH] Use G_GNUC_EXTENSION instead of __extension__. Patch from Pavel Roskin 2001-07-27 Sebastian Wilhelmi * glib/gtypes.h: Use G_GNUC_EXTENSION instead of __extension__. Patch from Pavel Roskin . --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gtypes.h | 6 +++--- 9 files changed, 43 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index db24608a4..db5eac106 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index db24608a4..db5eac106 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-07-27 Sebastian Wilhelmi + + * glib/gtypes.h: Use G_GNUC_EXTENSION instead of + __extension__. Patch from Pavel Roskin . + 2001-07-26 Darin Adler * configure.in: diff --git a/glib/gtypes.h b/glib/gtypes.h index eec6fa42a..27597b700 100644 --- a/glib/gtypes.h +++ b/glib/gtypes.h @@ -118,7 +118,7 @@ typedef void (*GFreeFunc) (gpointer data); */ #if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2 # define GUINT16_SWAP_LE_BE_X86(val) \ - (__extension__ \ + (G_GNUC_EXTENSION \ ({ register guint16 __v; \ if (__builtin_constant_p (val)) \ __v = GUINT16_SWAP_LE_BE_CONSTANT (val); \ @@ -131,7 +131,7 @@ typedef void (*GFreeFunc) (gpointer data); # if !defined(__i486__) && !defined(__i586__) \ && !defined(__pentium__) && !defined(__i686__) && !defined(__pentiumpro__) # define GUINT32_SWAP_LE_BE_X86(val) \ - (__extension__ \ + (G_GNUC_EXTENSION \ ({ register guint32 __v; \ if (__builtin_constant_p (val)) \ __v = GUINT32_SWAP_LE_BE_CONSTANT (val); \ @@ -144,7 +144,7 @@ typedef void (*GFreeFunc) (gpointer data); __v; })) # else /* 486 and higher has bswap */ # define GUINT32_SWAP_LE_BE_X86(val) \ - (__extension__ \ + (G_GNUC_EXTENSION \ ({ register guint32 __v; \ if (__builtin_constant_p (val)) \ __v = GUINT32_SWAP_LE_BE_CONSTANT (val); \