diff options
author | Chris Robinson <[email protected]> | 2010-03-22 23:10:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-22 23:10:29 -0700 |
commit | 556e9b8fee160febfffc591bb9e2efb881850252 (patch) | |
tree | d35ada9a433b25e4e2929cd245d1d8b09232c6a3 /include/AL/alc.h | |
parent | ef92c6345597a2ebf0a47cae6e0bb7b38497e213 (diff) |
Use protected visibility for exported API functions
Protected visibility is like default visibility, in that functions will be
"exported" from the library. However, it also guarantees that references to the
functions from within the library will be to the library's version, even if the
symbols are overriden by the application.
Diffstat (limited to 'include/AL/alc.h')
-rw-r--r-- | include/AL/alc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/AL/alc.h b/include/AL/alc.h index dac94615..a7e82188 100644 --- a/include/AL/alc.h +++ b/include/AL/alc.h @@ -14,7 +14,7 @@ extern "C" { #endif #else #if defined(AL_BUILD_LIBRARY) && defined(HAVE_GCC_VISIBILITY) - #define ALC_API __attribute__((visibility("default"))) + #define ALC_API __attribute__((visibility("protected"))) #else #define ALC_API extern #endif |