summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.decls
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-06-05 17:31:08 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-06-05 17:31:08 (GMT)
commiteab8709992e59240799ae71ebdd5b6e48bc9d5c0 (patch)
tree41f21e9ad830c0964087f8b4d6b564c1f631d6ca /generic/tclInt.decls
parent9baeae995f31e23bd116f478c93131015e25e069 (diff)
downloadtcl-eab8709992e59240799ae71ebdd5b6e48bc9d5c0.zip
tcl-eab8709992e59240799ae71ebdd5b6e48bc9d5c0.tar.gz
tcl-eab8709992e59240799ae71ebdd5b6e48bc9d5c0.tar.bz2
* generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw
build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
Diffstat (limited to 'generic/tclInt.decls')
-rw-r--r--generic/tclInt.decls6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index 4a7e787..d935a47 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tclInt.decls,v 1.73 2004/05/14 21:43:29 kennykb Exp $
+# RCS: @(#) $Id: tclInt.decls,v 1.74 2004/06/05 17:31:08 kennykb Exp $
library tcl
@@ -865,6 +865,10 @@ declare 28 win {
void TclWinResetInterfaces(void)
}
+declare 29 win {
+ int TclWinCPUID( unsigned int index, unsigned int *regs )
+}
+
#########################
# Unix specific internals