summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-05-02 14:12:55 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-05-02 14:12:55 (GMT)
commitcb4a31abafa9b41095831cbb9921ba7b1264e079 (patch)
tree7eed1db525edfa978e2e1477e6f285b2667074d2 /unix
parentc88c4b7b794e0b3d2c8ccb86dbee739fd0cd463e (diff)
parentba50257e9185d30fdb97e761965c5e16b32051cd (diff)
downloadtcl-cb4a31abafa9b41095831cbb9921ba7b1264e079.zip
tcl-cb4a31abafa9b41095831cbb9921ba7b1264e079.tar.gz
tcl-cb4a31abafa9b41095831cbb9921ba7b1264e079.tar.bz2
switch off 32-bit specific assembler
FossilOrigin-Name: c08b6fe92629af59e9bdfd948b9ed5d73218316b
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixCompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c
index 09c8691..0626111 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -820,7 +820,7 @@ TclWinCPUID(
{
int status = TCL_ERROR;
-#ifdef HAVE_CPUID
+#if defined(HAVE_CPUID) && defined(__CYGWIN__)
__asm__ __volatile__("pushl %%ebx \n\t" /* save %ebx */
"cpuid \n\t"
"movl %%ebx, %1 \n\t" /* save what cpuid just put in %ebx */