summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2013-09-24 05:43:23 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2013-09-24 05:43:23 (GMT)
commit5f8b28962af100bd244e624c4600e4ac40a15c48 (patch)
tree86fa32758aac8604bf26b7ab10845ed541cec0d8 /win/tclWin32Dll.c
parentb54c2a5958b12875dc5a32cc1f09da20e23b087d (diff)
downloadtcl-win32_arm.zip
tcl-win32_arm.tar.gz
tcl-win32_arm.tar.bz2
Support compiling Tcl for Win32 on ARM.win32_arm
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r--win/tclWin32Dll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 0d3b683..c5649c2 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -46,7 +46,7 @@ typedef struct EXCEPTION_REGISTRATION {
* VC++ 5.x has no 'cpuid' assembler instruction, so we must emulate it
*/
-#if defined(_MSC_VER) && (_MSC_VER <= 1100)
+#if defined(_MSC_VER) && (_MSC_VER <= 1100) && defined (_M_IX86)
#define cpuid __asm __emit 0fh __asm __emit 0a2h
#endif
@@ -752,7 +752,7 @@ TclWinCPUID(
__cpuid(regsPtr, index);
status = TCL_OK;
-# else
+# elif defined (_M_IX86)
/*
* Define a structure in the stack frame to hold the registers.
*/