summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 14:14:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 14:14:52 (GMT)
commit6fd14b4021e31bbdbc45e5b767b50f05d4e55823 (patch)
treebf9682ea467128e542c3a7314a58325f81dbbb2b
parentab87e428cb91100ed8882b1ab3188ace08a84dcd (diff)
parentdcda4402f580987fc79b3a8b5bbacebde71dbf18 (diff)
downloadtcl-6fd14b4021e31bbdbc45e5b767b50f05d4e55823.zip
tcl-6fd14b4021e31bbdbc45e5b767b50f05d4e55823.tar.gz
tcl-6fd14b4021e31bbdbc45e5b767b50f05d4e55823.tar.bz2
switch off 32-bit 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 5971272..a39dbbe 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -990,7 +990,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 */