aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/AL/al.h2
-rw-r--r--include/AL/alc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/AL/al.h b/include/AL/al.h
index 7e596a0b..40b2db1a 100644
--- a/include/AL/al.h
+++ b/include/AL/al.h
@@ -14,7 +14,7 @@ extern "C" {
#endif
#else
#if defined(AL_BUILD_LIBRARY) && defined(HAVE_GCC_VISIBILITY)
- #define AL_API __attribute__((visibility("default")))
+ #define AL_API __attribute__((visibility("protected")))
#else
#define AL_API extern
#endif
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