diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2017-08-13 22:05:25 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2017-08-13 22:05:25 (GMT) |
commit | 9b1b7036b0de2150a62088d4681e966d721fc012 (patch) | |
tree | f1407abdf076dfc855ea19667458ce99f40a5659 /win/tclWin32Dll.c | |
parent | ed3d8a5c300d7029bc85bc0c012386ae933e230f (diff) | |
download | tcl-9b1b7036b0de2150a62088d4681e966d721fc012.zip tcl-9b1b7036b0de2150a62088d4681e966d721fc012.tar.gz tcl-9b1b7036b0de2150a62088d4681e966d721fc012.tar.bz2 |
Support cross-compiling Tcl for 'Win32 on ARM' using Visual Studio.
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r-- | win/tclWin32Dll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c index 688fa8d..84c7a97 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. */ |