summaryrefslogtreecommitdiff
path: root/package/tcl/patches/patch-unix_tclUnixTime_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:22:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:27:25 +0200
commit17e8dc5decd4661ab0518c8aab9ac9ce93fd3a0b (patch)
tree61687aac2a302e06b7859672618776cab8f594c5 /package/tcl/patches/patch-unix_tclUnixTime_c
parent1a132c5a3470b54e51dec459a71db9fb7bb5705d (diff)
tcl: update to 8.6.6, filter-out -ffast-math
Diffstat (limited to 'package/tcl/patches/patch-unix_tclUnixTime_c')
-rw-r--r--package/tcl/patches/patch-unix_tclUnixTime_c39
1 files changed, 0 insertions, 39 deletions
diff --git a/package/tcl/patches/patch-unix_tclUnixTime_c b/package/tcl/patches/patch-unix_tclUnixTime_c
deleted file mode 100644
index e0334126f..000000000
--- a/package/tcl/patches/patch-unix_tclUnixTime_c
+++ /dev/null
@@ -1,39 +0,0 @@
---- tcl8.5.8.orig/unix/tclUnixTime.c 2008-04-14 19:49:59.000000000 +0200
-+++ tcl8.5.8/unix/tclUnixTime.c 2011-01-13 15:59:00.000000000 +0100
-@@ -164,12 +164,6 @@ TclpGetWideClicks(void)
-
- (*tclGetTimeProcPtr) (&time, tclTimeClientData);
- now = (Tcl_WideInt) (time.sec*1000000 + time.usec);
-- } else {
--#ifdef MAC_OSX_TCL
-- now = (Tcl_WideInt) (mach_absolute_time() & INT64_MAX);
--#else
--#error Wide high-resolution clicks not implemented on this platform
--#endif
- }
-
- return now;
-@@ -200,23 +194,6 @@ TclpWideClicksToNanoseconds(
-
- if (tclGetTimeProcPtr != NativeGetTime) {
- nsec = clicks * 1000;
-- } else {
--#ifdef MAC_OSX_TCL
-- static mach_timebase_info_data_t tb;
-- static uint64_t maxClicksForUInt64;
--
-- if (!tb.denom) {
-- mach_timebase_info(&tb);
-- maxClicksForUInt64 = UINT64_MAX / tb.numer;
-- }
-- if ((uint64_t) clicks < maxClicksForUInt64) {
-- nsec = ((uint64_t) clicks) * tb.numer / tb.denom;
-- } else {
-- nsec = ((long double) (uint64_t) clicks) * tb.numer / tb.denom;
-- }
--#else
--#error Wide high-resolution clicks not implemented on this platform
--#endif
- }
-
- return nsec;