diff SDL_sound.h @ 569:d02c00ce16d9 stable-1.0

Clean up symbol visibility in the stable-1.0 branch.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 05 Jan 2010 15:03:43 -0500
parents 394e3ec86164
children
line wrap: on
line diff
--- a/SDL_sound.h	Tue Jan 27 14:09:55 2009 -0500
+++ b/SDL_sound.h	Tue Jan 05 15:03:43 2010 -0500
@@ -79,6 +79,8 @@
 
 #ifdef SDL_SOUND_DLL_EXPORTS
 #  define SNDDECLSPEC __declspec(dllexport)
+#elif (__GNUC__ >= 3)
+#  define SNDDECLSPEC __attribute__((visibility("default")))
 #else
 #  define SNDDECLSPEC
 #endif