Fix thread name setting
Because of a typo, thread names no longer appeared in the overview.
This was broken in 51ed9ec
.
This commit is contained in:
parent
a38a98c476
commit
76c49c4138
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue