From e02c68bef040a6d9fdb2484f9fa25a2a7d51c1c7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Aug 2004 21:39:39 +0000 Subject: [PATCH] Define empty if gcc is too old. Mon Aug 9 17:37:56 2004 Matthias Clasen * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-12 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ glib/gmacros.h | 2 +- 6 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 98e9101..da9f671 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Aug 9 17:37:56 2004 Matthias Clasen + + * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. + 2004-08-06 Hans Breuer * glib/makefile.msc.in glib/glib.def : updated diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 98e9101..da9f671 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +Mon Aug 9 17:37:56 2004 Matthias Clasen + + * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. + 2004-08-06 Hans Breuer * glib/makefile.msc.in glib/glib.def : updated diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 98e9101..da9f671 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +Mon Aug 9 17:37:56 2004 Matthias Clasen + + * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. + 2004-08-06 Hans Breuer * glib/makefile.msc.in glib/glib.def : updated diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 98e9101..da9f671 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +Mon Aug 9 17:37:56 2004 Matthias Clasen + + * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. + 2004-08-06 Hans Breuer * glib/makefile.msc.in glib/glib.def : updated diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 98e9101..da9f671 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +Mon Aug 9 17:37:56 2004 Matthias Clasen + + * glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old. + 2004-08-06 Hans Breuer * glib/makefile.msc.in glib/glib.def : updated diff --git a/glib/gmacros.h b/glib/gmacros.h index 788b307..11832b2 100644 --- a/glib/gmacros.h +++ b/glib/gmacros.h @@ -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 -- 2.7.4