diff options
author | ferrieux@users.sourceforge.net <ferrieux> | 2012-04-30 12:55:24 (GMT) |
---|---|---|
committer | ferrieux@users.sourceforge.net <ferrieux> | 2012-04-30 12:55:24 (GMT) |
commit | 16e4a5b5dbde80cedbf273369236e78842dc6dd2 (patch) | |
tree | abbebaee230f5f3843756adee05df0a1aa129e91 /unix/tclUnixCompat.c | |
parent | dc96642ba9f715300966a84a68155a147905ef00 (diff) | |
download | tcl-16e4a5b5dbde80cedbf273369236e78842dc6dd2.zip tcl-16e4a5b5dbde80cedbf273369236e78842dc6dd2.tar.gz tcl-16e4a5b5dbde80cedbf273369236e78842dc6dd2.tar.bz2 |
Revert introduction of non-portable asm snippet in function TclWinCPUID, to restore compilability on Linux.
Diffstat (limited to 'unix/tclUnixCompat.c')
-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; } |