From fe660cdff59aa3a939479ed60172e5c0803552b2 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Sun, 8 Jan 2017 18:21:23 +0100 Subject: 8.7 --- zen/thread.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zen/thread.h') 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(static_cast(&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(static_cast(&errno)); #elif defined ZEN_MAC uint64_t tid = 0; -- cgit