comparison 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
comparison
equal deleted inserted replaced
556:1c7d570fcee8 569:d02c00ce16d9
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