Try again...
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 18 May 2007 14:56:32 +0000 (14:56 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 18 May 2007 14:56:32 +0000 (14:56 +0000)
svn path=/trunk/; revision=5505

configure.in

index a115da4f80f887426caa11d356c73059e8164111..460e30f568b35ea63cffce54550cf69650d9cfa8 100644 (file)
@@ -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