summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
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)
commit705a4980e3edde26965b3f0558fc55158527d618 (patch)
treebf9682ea467128e542c3a7314a58325f81dbbb2b /unix/tclUnixCompat.c
parent1546d6669e22d47728f48c7f81c58afdf2715ecc (diff)
parentac81ebd41a86f284eeedcf6518b62f0b1d24f52d (diff)
downloadtcl-705a4980e3edde26965b3f0558fc55158527d618.zip
tcl-705a4980e3edde26965b3f0558fc55158527d618.tar.gz
tcl-705a4980e3edde26965b3f0558fc55158527d618.tar.bz2
switch off 32-bit assembler
Diffstat (limited to 'unix/tclUnixCompat.c')
-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 */