diff options
Diffstat (limited to 'base/port.h')
-rw-r--r-- | base/port.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/base/port.h b/base/port.h index 349b117..0e873bb 100644 --- a/base/port.h +++ b/base/port.h @@ -53,12 +53,7 @@ inline void va_copy(va_list& a, va_list& b) { // Define an OS-neutral wrapper for shared library entry points #if defined(OS_WIN) #define API_CALL __stdcall -#define DYNAMIC_EXPORT __declspec(dllexport) -#elif defined(OS_MACOSX) -#define DYNAMIC_EXPORT __attribute__((visibility("default"))) -#define API_CALL -#elif defined(OS_LINUX) -#define DYNAMIC_EXPORT +#elif defined(OS_LINUX) || defined(OS_MACOSX) #define API_CALL #endif |