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)
commitac81ebd41a86f284eeedcf6518b62f0b1d24f52d (patch)
tree7eed1db525edfa978e2e1477e6f285b2667074d2
parentceffdc238ed1a181d39b020f0f98177f93067d28 (diff)
parent5098f5307b77d3fec508f0cfe9e24e867120b4bf (diff)
downloadtcl-ac81ebd41a86f284eeedcf6518b62f0b1d24f52d.zip
tcl-ac81ebd41a86f284eeedcf6518b62f0b1d24f52d.tar.gz
tcl-ac81ebd41a86f284eeedcf6518b62f0b1d24f52d.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 */