diff options
Diffstat (limited to 'source/l/glib/glib-1.2.10-gcc34.patch')
-rw-r--r-- | source/l/glib/glib-1.2.10-gcc34.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/l/glib/glib-1.2.10-gcc34.patch b/source/l/glib/glib-1.2.10-gcc34.patch new file mode 100644 index 000000000..bb02628cd --- /dev/null +++ b/source/l/glib/glib-1.2.10-gcc34.patch @@ -0,0 +1,11 @@ +--- glib-1.2.10/glib.h.gcc34 2004-06-21 09:15:12.000000000 -0400 ++++ glib-1.2.10/glib.h 2004-06-21 09:15:22.000000000 -0400 +@@ -272,7 +272,7 @@ + /* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with + * macros, so we can refer to them as strings unconditionally. + */ +-#ifdef __GNUC__ ++#if defined (__GNUC__) && (__GNUC__ < 3) + #define G_GNUC_FUNCTION __FUNCTION__ + #define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ + #else /* !__GNUC__ */ |