Skip to content

Commit

Permalink
Fix/"WIN32" -> "_WIN32"
Browse files Browse the repository at this point in the history
  • Loading branch information
netadr authored Mar 11, 2024
1 parent abded75 commit e6dc3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/safetyhook/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -71,4 +71,4 @@
#define SAFETYHOOK_NOINLINE __declspec(noinline)
#elif SAFETYHOOK_COMPILER_GCC || SAFETYHOOK_COMPILER_CLANG
#define SAFETYHOOK_NOINLINE __attribute__((noinline))
#endif
#endif

0 comments on commit e6dc3c3

Please sign in to comment.