mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
Use G_GNUC_EXTENSION instead of __extension__. Patch from Pavel Roskin
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gtypes.h: Use G_GNUC_EXTENSION instead of __extension__. Patch from Pavel Roskin <proski@gnu.org>.
This commit is contained in:
parent
07638db802
commit
f96f290c63
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/gtypes.h: Use G_GNUC_EXTENSION instead of
|
||||||
|
__extension__. Patch from Pavel Roskin <proski@gnu.org>.
|
||||||
|
|
||||||
2001-07-26 Darin Adler <darin@bentspoon.com>
|
2001-07-26 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* configure.in:
|
* configure.in:
|
||||||
|
@ -118,7 +118,7 @@ typedef void (*GFreeFunc) (gpointer data);
|
|||||||
*/
|
*/
|
||||||
#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
|
#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
|
||||||
# define GUINT16_SWAP_LE_BE_X86(val) \
|
# define GUINT16_SWAP_LE_BE_X86(val) \
|
||||||
(__extension__ \
|
(G_GNUC_EXTENSION \
|
||||||
({ register guint16 __v; \
|
({ register guint16 __v; \
|
||||||
if (__builtin_constant_p (val)) \
|
if (__builtin_constant_p (val)) \
|
||||||
__v = GUINT16_SWAP_LE_BE_CONSTANT (val); \
|
__v = GUINT16_SWAP_LE_BE_CONSTANT (val); \
|
||||||
@ -131,7 +131,7 @@ typedef void (*GFreeFunc) (gpointer data);
|
|||||||
# if !defined(__i486__) && !defined(__i586__) \
|
# if !defined(__i486__) && !defined(__i586__) \
|
||||||
&& !defined(__pentium__) && !defined(__i686__) && !defined(__pentiumpro__)
|
&& !defined(__pentium__) && !defined(__i686__) && !defined(__pentiumpro__)
|
||||||
# define GUINT32_SWAP_LE_BE_X86(val) \
|
# define GUINT32_SWAP_LE_BE_X86(val) \
|
||||||
(__extension__ \
|
(G_GNUC_EXTENSION \
|
||||||
({ register guint32 __v; \
|
({ register guint32 __v; \
|
||||||
if (__builtin_constant_p (val)) \
|
if (__builtin_constant_p (val)) \
|
||||||
__v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
|
__v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
|
||||||
@ -144,7 +144,7 @@ typedef void (*GFreeFunc) (gpointer data);
|
|||||||
__v; }))
|
__v; }))
|
||||||
# else /* 486 and higher has bswap */
|
# else /* 486 and higher has bswap */
|
||||||
# define GUINT32_SWAP_LE_BE_X86(val) \
|
# define GUINT32_SWAP_LE_BE_X86(val) \
|
||||||
(__extension__ \
|
(G_GNUC_EXTENSION \
|
||||||
({ register guint32 __v; \
|
({ register guint32 __v; \
|
||||||
if (__builtin_constant_p (val)) \
|
if (__builtin_constant_p (val)) \
|
||||||
__v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
|
__v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
|
||||||
|
Loading…
Reference in New Issue
Block a user