Browse Source

Fix thread name setting

Because of a typo, thread names no longer appeared in the overview.

This was broken in 51ed9ec.
pull/145/head
Wladimir J. van der Laan 10 years ago
parent
commit
76c49c4138
No known key found for this signature in database GPG Key ID: 74810B012346C9A6
  1. 4
      src/util.cpp

4
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>

Loading…
Cancel
Save