aboutsummaryrefslogtreecommitdiff
path: root/subhook_x86.c
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2013-04-03 22:41:14 +0700
committerZeex <zeex@rocketmail.com>2013-04-03 22:41:14 +0700
commita6784e2db5a7553bdad6e0deaa920e8d4dc1b453 (patch)
tree3d3afa7bab39441ec714e351c5329fb5f0de02f6 /subhook_x86.c
parent9faf51929c1574acfd34de28a9e0cb5700bfe3da (diff)
downloadsubhook-a6784e2db5a7553bdad6e0deaa920e8d4dc1b453.zip
subhook-a6784e2db5a7553bdad6e0deaa920e8d4dc1b453.tar.gz
subhook-a6784e2db5a7553bdad6e0deaa920e8d4dc1b453.tar.bz2
Fix intptr_t redefinition on non-MSVC
Diffstat (limited to 'subhook_x86.c')
-rw-r--r--subhook_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subhook_x86.c b/subhook_x86.c
index c78e7ed..de36e0e 100644
--- a/subhook_x86.c
+++ b/subhook_x86.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
#include <string.h>
-#ifdef SUBHOOK_WINDOWS
+#if defined _MSC_VER
#if defined SUBHOOK_X86
typedef __int32 intptr_t;
#elif defined SUBHOOK_X86_64