mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 11:12:50 +01:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user