Mercurial > SDL_sound_CoreAudio
diff SDL_sound.h @ 524:a0bb7a9c05b1
Added -fvisibility=hidden support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 06 Aug 2007 09:41:58 +0000 |
parents | 137c0b00ea4c |
children | 2df1f5c62d38 |
line wrap: on
line diff
--- a/SDL_sound.h Mon Aug 06 09:40:31 2007 +0000 +++ b/SDL_sound.h Mon Aug 06 09:41:58 2007 +0000 @@ -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