summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 14:12:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 14:12:55 (GMT)
commitdcda4402f580987fc79b3a8b5bbacebde71dbf18 (patch)
tree7eed1db525edfa978e2e1477e6f285b2667074d2
parent01629880872bc498a4e334c657838500bcc55498 (diff)
parentfc2fcb8cf98f705a260551269c44f3c2ea80bc6c (diff)
downloadtcl-dcda4402f580987fc79b3a8b5bbacebde71dbf18.zip
tcl-dcda4402f580987fc79b3a8b5bbacebde71dbf18.tar.gz
tcl-dcda4402f580987fc79b3a8b5bbacebde71dbf18.tar.bz2
switch off 32-bit specific assembler
-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 */