Define empty if gcc is too old.
authorMatthias Clasen <maclas@gmx.de>
Mon, 9 Aug 2004 21:39:39 +0000 (21:39 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 9 Aug 2004 21:39:39 +0000 (21:39 +0000)
Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmacros.h

index 98e9101..da9f671 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
+
 2004-08-06  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc.in glib/glib.def : updated
index 98e9101..da9f671 100644 (file)
@@ -1,3 +1,7 @@
+Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
+
 2004-08-06  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc.in glib/glib.def : updated
index 98e9101..da9f671 100644 (file)
@@ -1,3 +1,7 @@
+Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
+
 2004-08-06  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc.in glib/glib.def : updated
index 98e9101..da9f671 100644 (file)
@@ -1,3 +1,7 @@
+Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
+
 2004-08-06  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc.in glib/glib.def : updated
index 98e9101..da9f671 100644 (file)
@@ -1,3 +1,7 @@
+Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
+
 2004-08-06  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc.in glib/glib.def : updated
index 788b307..11832b2 100644 (file)
@@ -59,7 +59,7 @@
  * functions as being used internally to the lib only, to not 
  * create inefficient PLT entries.
  */
-#if defined (__GNUC__) 
+#if    __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
 #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
 #else
 #define G_GNUC_INTERNAL