From 92552431eaad633c5de435413014a71c2ea082e5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 18 May 2007 14:56:32 +0000 Subject: [PATCH] Try again... svn path=/trunk/; revision=5505 --- configure.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index a115da4f..460e30f5 100644 --- a/configure.in +++ b/configure.in @@ -2515,12 +2515,10 @@ _______EOF _______EOF fi cat >>$outfile <<_______EOF -#if __GNUC__ == 2 && __GNUC_MINOR__ == 95 -#define G_GNUC_INTERNAL -#elif defined (__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303) -#define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) -#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) +#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) #define G_GNUC_INTERNAL __hidden +#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY) +#define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) #else #define G_GNUC_INTERNAL #endif -- 2.34.1