Fix missed GCC 4 visibility (bad raster) so that e_utils builds again
authorChristopher Michael <cpmichael1@comcast.net>
Fri, 30 Dec 2005 01:52:20 +0000 (01:52 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Fri, 30 Dec 2005 01:52:20 +0000 (01:52 +0000)
SVN revision: 19399

src/lib/E_Lib.h

index 442508e..4e1f4ba 100644 (file)
 #  define EAPI __declspec(dllimport)
 # endif
 #else
-# ifdef GCC_HASCLASSVISIBILITY
-#  define EAPI __attribute__ ((visibility("default")))
+# ifdef __GNUC__
+#  if __GNUC__ >= 4
+#   define EAPI __attribute__ ((visibility("default")))
+#  else
+#   define EAPI
+#  endif
 # else
 #  define EAPI
 # endif