diff options
Diffstat (limited to 'include/AL')
-rw-r--r-- | include/AL/al.h | 4 | ||||
-rw-r--r-- | include/AL/alc.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/AL/al.h b/include/AL/al.h index c409701f..44db7798 100644 --- a/include/AL/al.h +++ b/include/AL/al.h @@ -5,7 +5,9 @@ extern "C" { #endif -#if defined(_WIN32) && !defined(_XBOX) +#if defined(AL_LIBTYPE_STATIC) + #define AL_API +#elif defined(_WIN32) && !defined(_XBOX) #if defined(AL_BUILD_LIBRARY) #define AL_API __declspec(dllexport) #else diff --git a/include/AL/alc.h b/include/AL/alc.h index 4e84af42..04543a0c 100644 --- a/include/AL/alc.h +++ b/include/AL/alc.h @@ -5,7 +5,9 @@ extern "C" { #endif -#if defined(_WIN32) && !defined(_XBOX) +#if defined(AL_LIBTYPE_STATIC) + #define ALC_API +#elif defined(_WIN32) && !defined(_XBOX) #if defined(AL_BUILD_LIBRARY) #define ALC_API __declspec(dllexport) #else |