include/begin_code.h
changeset 1573 2422ca15ba42
parent 1402 d910939febfa
child 1574 0fd72308659e
--- a/include/begin_code.h	Tue Mar 21 16:04:44 2006 +0000
+++ b/include/begin_code.h	Wed Mar 22 01:28:36 2006 +0000
@@ -31,6 +31,10 @@
 #endif
 #define _begin_code_h
 
+#ifdef __GNUC__
+#define SDL_GCC_ATTR_VIS_DEFAULT __attribute__((visibility("default")))
+#endif
+
 /* Some compilers use a special export keyword */
 #ifndef DECLSPEC
 # ifdef __BEOS__