diff options
author | Chris Robinson <[email protected]> | 2017-05-30 09:58:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-30 09:58:06 -0700 |
commit | f54946f9cb1b3293cc95cc77400625aa4c80c138 (patch) | |
tree | cf7765814d7ce56c141a54f2cd6182963ac83d27 | |
parent | e893211b659a5dbaf75aa437ab594aac87984b85 (diff) |
Remove unused HIDDEN_DECL macro
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.h.in | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 15311bc2..b7e459fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -359,7 +359,6 @@ int main() ENDIF() # Set visibility/export options if available -SET(HIDDEN_DECL "") IF(WIN32) SET(EXPORT_DECL "__declspec(dllexport)") IF(NOT MINGW) @@ -388,7 +387,6 @@ ELSE() CHECK_C_COMPILER_FLAG(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN_SWITCH) IF(HAVE_VISIBILITY_HIDDEN_SWITCH) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden") - SET(HIDDEN_DECL "__attribute__((visibility(\"hidden\")))") ENDIF() ENDIF() diff --git a/config.h.in b/config.h.in index d46c69ac..a71b54fb 100644 --- a/config.h.in +++ b/config.h.in @@ -8,9 +8,6 @@ /* Define a built-in call indicating an aligned data pointer */ #define ASSUME_ALIGNED(x, y) ${ASSUME_ALIGNED_DECL} -/* Explicit hidden visibility attribute */ -#define HIDDEN_DECL ${HIDDEN_DECL} - /* Define if HRTF data is embedded in the library */ #cmakedefine ALSOFT_EMBED_HRTF_DATA |