include/begin_code.h
changeset 1595 4aa7df2476e7
parent 1574 0fd72308659e
child 1621 f12379c41042
--- a/include/begin_code.h	Thu Mar 23 06:48:12 2006 +0000
+++ b/include/begin_code.h	Thu Mar 23 07:34:03 2006 +0000
@@ -60,7 +60,7 @@
 #   define DECLSPEC
 #  endif
 # else
-#  if defined(__GNUC__)
+#  if defined(__GNUC__) && __GNUC__ >= 4
 #   define DECLSPEC	__attribute__ ((visibility("default")))
 #  else
 #   define DECLSPEC