summaryrefslogtreecommitdiff
path: root/zen/thread.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2017-01-08 18:21:23 +0100
committerDaniel Wilhelm <shieldwed@outlook.com>2017-01-08 18:21:23 +0100
commitfe660cdff59aa3a939479ed60172e5c0803552b2 (patch)
tree045cf295b79de10f75ed6362c5836db25c9fc63a /zen/thread.h
parent8.6 (diff)
downloadFreeFileSync-fe660cdff59aa3a939479ed60172e5c0803552b2.tar.gz
FreeFileSync-fe660cdff59aa3a939479ed60172e5c0803552b2.tar.bz2
FreeFileSync-fe660cdff59aa3a939479ed60172e5c0803552b2.zip
8.7
Diffstat (limited to 'zen/thread.h')
-rw-r--r--zen/thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/thread.h b/zen/thread.h
index ac94da6a..5bb02a0e 100644
--- a/zen/thread.h
+++ b/zen/thread.h
@@ -460,9 +460,9 @@ std::uint64_t getThreadId()
return ::GetCurrentThreadId(); //no-fail
#elif defined ZEN_LINUX
- //obviously "gettid()" is not available on Ubuntu/Debian/Suse => use the OpenSSL approach:
- static_assert(sizeof(std::uint64_t) >= sizeof(void*), "");
- return reinterpret_cast<std::uint64_t>(static_cast<void*>(&errno));
+ //obviously "gettid()" is not available on Ubuntu/Debian/Suse => use the OpenSSL approach:
+ static_assert(sizeof(std::uint64_t) >= sizeof(void*), "");
+ return reinterpret_cast<std::uint64_t>(static_cast<void*>(&errno));
#elif defined ZEN_MAC
uint64_t tid = 0;
bgstack15