diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2020-04-21 11:44:07 +0800 |
---|---|---|
committer | Moritz Angermann <moritz.angermann@gmail.com> | 2020-04-21 11:44:07 +0800 |
commit | ae94af3e0d5cdc2b16b7f550260ee9b3964a3fda (patch) | |
tree | 00dbc565a7a03be4decbfc71f831b8b241916ee4 /rts/posix/GetTime.c | |
parent | d5fae7da02cff1c7ec7b8e472f85d23aef098968 (diff) | |
download | haskell-wip/angerman/fix-macos-linker.tar.gz |
Fix build warning; add more informative information to the linker; fix linker for empty sectionswip/angerman/fix-macos-linker
Diffstat (limited to 'rts/posix/GetTime.c')
-rw-r--r-- | rts/posix/GetTime.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/posix/GetTime.c b/rts/posix/GetTime.c index eda18e1202..602bd17b52 100644 --- a/rts/posix/GetTime.c +++ b/rts/posix/GetTime.c @@ -71,7 +71,6 @@ Time getCurrentThreadCPUTime(void) // support clock_getcpuclockid. Hence we prefer to use the Darwin-specific // path on Darwin, even if clock_gettime is available. #if defined(darwin_HOST_OS) - mach_port_t port = pthread_mach_thread_np(osThreadId()); thread_basic_info_data_t info = { 0 }; mach_msg_type_number_t info_count = THREAD_BASIC_INFO_COUNT; kern_return_t kern_err = thread_info(mach_thread_self(), THREAD_BASIC_INFO, |