diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-08 14:45:53 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-08 14:45:53 (GMT) |
| commit | 0872562c806e950919a612ff0ff16e975a1a0b59 (patch) | |
| tree | ccb49aa02e7d86522ac545c8f5ce836b89e0aa5d /generic/tclInt.h | |
| parent | 7a36f112165d055e0093e8d87fd3637306b721e3 (diff) | |
| parent | f09dcac7855bb4d75a3ca3b44b9d5ce188260bff (diff) | |
| download | tcl-0872562c806e950919a612ff0ff16e975a1a0b59.zip tcl-0872562c806e950919a612ff0ff16e975a1a0b59.tar.gz tcl-0872562c806e950919a612ff0ff16e975a1a0b59.tar.bz2 | |
TIP #592 implememtation: Stop support for Windows XP, Server 2003, Vista, Server 2008
Diffstat (limited to 'generic/tclInt.h')
| -rw-r--r-- | generic/tclInt.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 8088d0e..fa2360c 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3280,27 +3280,20 @@ MODULE_SCOPE void TclInitThreadStorage(void); MODULE_SCOPE void TclFinalizeThreadDataThread(void); MODULE_SCOPE void TclFinalizeThreadStorage(void); -/* TclWideMUInt -- wide integer used for measurement calculations: */ -#if (!defined(_WIN32) || !defined(_MSC_VER) || (_MSC_VER >= 1400)) -# define TclWideMUInt Tcl_WideUInt -#else -/* older MSVS may not allow conversions between unsigned __int64 and double) */ -# define TclWideMUInt Tcl_WideInt -#endif #ifdef TCL_WIDE_CLICKS -MODULE_SCOPE Tcl_WideInt TclpGetWideClicks(void); -MODULE_SCOPE double TclpWideClicksToNanoseconds(Tcl_WideInt clicks); +MODULE_SCOPE long long TclpGetWideClicks(void); +MODULE_SCOPE double TclpWideClicksToNanoseconds(long long clicks); MODULE_SCOPE double TclpWideClickInMicrosec(void); #else # ifdef _WIN32 # define TCL_WIDE_CLICKS 1 -MODULE_SCOPE Tcl_WideInt TclpGetWideClicks(void); +MODULE_SCOPE long long TclpGetWideClicks(void); MODULE_SCOPE double TclpWideClickInMicrosec(void); # define TclpWideClicksToNanoseconds(clicks) \ ((double)(clicks) * TclpWideClickInMicrosec() * 1000) # endif #endif -MODULE_SCOPE Tcl_WideInt TclpGetMicroseconds(void); +MODULE_SCOPE long long TclpGetMicroseconds(void); MODULE_SCOPE int TclZlibInit(Tcl_Interp *interp); MODULE_SCOPE void * TclpThreadCreateKey(void); |
