diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-08-12 12:05:03 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-08-12 12:24:04 +0200 |
commit | 76c49c4138dcd30c9237fbb0842df8d2f8209319 (patch) | |
tree | cba928e63b96687a4f695cfd4b71a57b39898c6c /src/util.cpp | |
parent | a38a98c47667ca2e6506603f49ce4d455eec1a78 (diff) |
Fix thread name setting
Because of a typo, thread names no longer appeared in the overview.
This was broken in 51ed9ec.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index d3fa5182f3..93fefbac8a 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 <sys/prctl.h> -#endif +#endif // __linux__ #include <algorithm> #include <fcntl.h> |