summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-17 22:50:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-17 22:50:16 (GMT)
commite6336bb80666daaff22efe39b07553bbf79c30e7 (patch)
treec41007ac69759cc03e09d6b20c08001c29388e3f /win/tclWin32Dll.c
parent922d8a71a5d31e1c3ddd5e9edeb6830fb407462f (diff)
parenta04094e9a5e8e6e49dbfd80dea4d4d1335d51d6a (diff)
downloadtcl-e6336bb80666daaff22efe39b07553bbf79c30e7.zip
tcl-e6336bb80666daaff22efe39b07553bbf79c30e7.tar.gz
tcl-e6336bb80666daaff22efe39b07553bbf79c30e7.tar.bz2
Merge core-8-6-branch. Update outdated comment (cherry-pick [d5dec2b0514639f44929cbbba9c4130798a8a54a|d5dec2b051])
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 e4adb1d..1d6cb2b 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -29,7 +29,7 @@ static int platformId; /* Running under NT, or 95/98? */
* 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
@@ -735,7 +735,7 @@ TclWinCPUID(
__cpuid(regsPtr, index);
status = TCL_OK;
-# else
+# elif defined (_M_IX86)
/*
* Define a structure in the stack frame to hold the registers.
*/