diff --git a/module/SqBase.hpp b/module/SqBase.hpp index 9a6b75bd..b753c3d3 100644 --- a/module/SqBase.hpp +++ b/module/SqBase.hpp @@ -32,7 +32,14 @@ * OS IDENTIFICATION */ -#if defined(_WIN32) || defined(__WIN32__) || defined(_WIN) || defined(__WIN__) +#if defined(_WIN64) || defined(__WIN64__) + // Windows x64 + #define SQMOD_OS_WINDOWS + #define SQMOD_OS_64 + #define SQMOD_OS_WINDOWS64 + #define SQMOD_ARCHITECTURE 2 + #define SQMOD_PLATFORM 1 +#elif defined(_WIN32) || defined(__WIN32__) || defined(_WIN) || defined(__WIN__) #error Squirrel Module does not support 32-bit Windows anymore // Windows x32 //#define SQMOD_OS_WINDOWS @@ -40,13 +47,6 @@ //#define SQMOD_OS_WINDOWS32 //#define SQMOD_ARCHITECTURE 1 //#define SQMOD_PLATFORM 1 -#elif defined(_WIN64) || defined(__WIN64__) - // Windows x64 - #define SQMOD_OS_WINDOWS - #define SQMOD_OS_64 - #define SQMOD_OS_WINDOWS64 - #define SQMOD_ARCHITECTURE 2 - #define SQMOD_PLATFORM 1 #elif defined(linux) || defined(__linux) || defined(__linux__) // Linux #define SQMOD_OS_LINUX