diff --git a/module/SqBase.hpp b/module/SqBase.hpp index bc63e456..d84e466a 100644 --- a/module/SqBase.hpp +++ b/module/SqBase.hpp @@ -106,7 +106,7 @@ /* ------------------------------------------------------------------------------------------------ * API EXPORT. */ -#if defined(_MSC_VER) +#if defined(SQMOD_OS_WINDOWS) #define SQMOD_API_EXPORT extern "C" __declspec(dllexport) #elif defined(__GNUC__) #define SQMOD_API_EXPORT extern "C"