From 629558c64009a7291ba6ed5cfb49187086a27a47 Mon Sep 17 00:00:00 2001 From: Clayton <42688647+netadr@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:18:56 -0400 Subject: [PATCH] Use _WIN32 define instead of WIN32 (#68) --- include/safetyhook/common.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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