comparison 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
comparison
equal deleted inserted replaced
523:3a3807dcf57f 524:a0bb7a9c05b1
77 #define SDLCALL 77 #define SDLCALL
78 #endif 78 #endif
79 79
80 #ifdef SDL_SOUND_DLL_EXPORTS 80 #ifdef SDL_SOUND_DLL_EXPORTS
81 # define SNDDECLSPEC __declspec(dllexport) 81 # define SNDDECLSPEC __declspec(dllexport)
82 #elif (__GNUC__ >= 3)
83 # define SNDDECLSPEC __attribute__((visibility("default")))
82 #else 84 #else
83 # define SNDDECLSPEC 85 # define SNDDECLSPEC
84 #endif 86 #endif
85 87
86 #define SOUND_VER_MAJOR 1 88 #define SOUND_VER_MAJOR 1