aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 498fb074d0..a4a71a127e 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1279,7 +1279,7 @@ void runCommand(std::string strCommand)
void RenameThread(const char* name)
{
-#if defined(__linux__) && defined(PR_SET_NAME)
+#if defined(PR_SET_NAME)
// Only the first 15 characters are used (16 - NUL terminator)
::prctl(PR_SET_NAME, name, 0, 0, 0);
#elif 0 && (defined(__FreeBSD__) || defined(__OpenBSD__))