summaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'context.h')
-rw-r--r--context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/context.h b/context.h
index 871aa3f..3d4511f 100644
--- a/context.h
+++ b/context.h
@@ -39,7 +39,7 @@
#undef PTW32_PROGCTR
-#if defined(_M_IX86) || defined(_X86_)
+#if defined(_M_IX86) || (defined(_X86_) && !defined(__amd64__))
#define PTW32_PROGCTR(Context) ((Context).Eip)
#endif