From 76c49c4138dcd30c9237fbb0842df8d2f8209319 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 12 Aug 2014 12:05:03 +0200 Subject: [PATCH] Fix thread name setting Because of a typo, thread names no longer appeared in the overview. This was broken in 51ed9ec. --- src/util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index d3fa5182f..93fefbac8 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -17,7 +17,7 @@ #ifndef WIN32 // for posix_fallocate -#ifdef __linux_ +#ifdef __linux__ #ifdef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE @@ -26,7 +26,7 @@ #define _POSIX_C_SOURCE 200112L #include -#endif +#endif // __linux__ #include #include