diff --git a/include/safetyhook/common.hpp b/include/safetyhook/common.hpp index 808e85f..6ad9dd9 100644 --- a/include/safetyhook/common.hpp +++ b/include/safetyhook/common.hpp @@ -38,7 +38,7 @@ #endif #endif -#if defined(WIN32) +#if defined(_WIN32) #define SAFETYHOOK_OS_WINDOWS 1 #define SAFETYHOOK_OS_LINUX 0 #elif defined(__linux__) @@ -71,4 +71,4 @@ #define SAFETYHOOK_NOINLINE __declspec(noinline) #elif SAFETYHOOK_COMPILER_GCC || SAFETYHOOK_COMPILER_CLANG #define SAFETYHOOK_NOINLINE __attribute__((noinline)) -#endif \ No newline at end of file +#endif