diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2012-04-30 12:55:24 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2012-04-30 12:55:24 (GMT) |
commit | ccc7189d02db07692cedcc82141038304536e5f5 (patch) | |
tree | abbebaee230f5f3843756adee05df0a1aa129e91 /unix | |
parent | 4fe66ccda0979071b4d247a7e1bfb7d8425afd65 (diff) | |
download | tcl-ccc7189d02db07692cedcc82141038304536e5f5.zip tcl-ccc7189d02db07692cedcc82141038304536e5f5.tar.gz tcl-ccc7189d02db07692cedcc82141038304536e5f5.tar.bz2 |
Revert introduction of non-portable asm snippet in function TclWinCPUID, to restore compilability on Linux.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixCompat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c index d3da962..1c42056 100644 --- a/unix/tclUnixCompat.c +++ b/unix/tclUnixCompat.c @@ -991,9 +991,12 @@ TclWinCPUID( int status = TCL_ERROR; #ifdef HAVE_CPUID + /* disabled in emergency -- fails on linux */ +# if 0 __asm__ __volatile__ ("cpuid":\ "=a" (regsPtr[0]), "=b" (regsPtr[1]), "=c" (regsPtr[2]), "=d" (regsPtr[3]) : "a" (index)); status = TCL_OK; +# endif #endif return status; } |