summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 14:12:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 14:12:08 (GMT)
commitfc2fcb8cf98f705a260551269c44f3c2ea80bc6c (patch)
tree0ccf30bc9f6779ce134657a32fb1b8edab0739eb /unix
parent5e828c28cc7244829ffceb976231939bd5141e5b (diff)
downloadtcl-fc2fcb8cf98f705a260551269c44f3c2ea80bc6c.zip
tcl-fc2fcb8cf98f705a260551269c44f3c2ea80bc6c.tar.gz
tcl-fc2fcb8cf98f705a260551269c44f3c2ea80bc6c.tar.bz2
switch off - temporary - 32-bit specific assembler
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 0456faf..1043115 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -692,7 +692,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 */