1 --- tcl8.5.8.orig/unix/tclUnixTime.c 2008-04-14 19:49:59.000000000 +0200
2 +++ tcl8.5.8/unix/tclUnixTime.c 2011-01-13 15:59:00.000000000 +0100
3 @@ -164,12 +164,6 @@ TclpGetWideClicks(void)
5 (*tclGetTimeProcPtr) (&time, tclTimeClientData);
6 now = (Tcl_WideInt) (time.sec*1000000 + time.usec);
9 - now = (Tcl_WideInt) (mach_absolute_time() & INT64_MAX);
11 -#error Wide high-resolution clicks not implemented on this platform
16 @@ -200,23 +194,6 @@ TclpWideClicksToNanoseconds(
18 if (tclGetTimeProcPtr != NativeGetTime) {
22 - static mach_timebase_info_data_t tb;
23 - static uint64_t maxClicksForUInt64;
26 - mach_timebase_info(&tb);
27 - maxClicksForUInt64 = UINT64_MAX / tb.numer;
29 - if ((uint64_t) clicks < maxClicksForUInt64) {
30 - nsec = ((uint64_t) clicks) * tb.numer / tb.denom;
32 - nsec = ((long double) (uint64_t) clicks) * tb.numer / tb.denom;
35 -#error Wide high-resolution clicks not implemented on this platform