summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwin/configure4
-rw-r--r--win/configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/win/configure b/win/configure
index 01bb01a..17491d6 100755
--- a/win/configure
+++ b/win/configure
@@ -3651,8 +3651,8 @@ int
main ()
{
- unsigned int regs4;
- __cpuid(&regs,0);
+ unsigned int regs[4];
+ __cpuidex(regs,0,0);
__debugbreak();
;
diff --git a/win/configure.in b/win/configure.in
index 50f5de4..64b738d 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -3,7 +3,7 @@
# generate the file "configure", which is run during Tcl installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.128 2010/12/20 10:28:47 nijtmans Exp $
+# RCS: @(#) $Id: configure.in,v 1.129 2010/12/20 12:12:45 nijtmans Exp $
AC_INIT(../generic/tcl.h)
AC_PREREQ(2.59)
@@ -284,7 +284,7 @@ AC_TRY_COMPILE([
],
[
unsigned int regs[4];
- __cpuid(&regs,0);
+ __cpuidex(regs,0,0);
__debugbreak();
],
tcl_cv_intrinsics=yes,