summaryrefslogtreecommitdiff
path: root/sysutils/freefilesync/files/patch-zen_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/freefilesync/files/patch-zen_thread.h')
-rw-r--r--sysutils/freefilesync/files/patch-zen_thread.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sysutils/freefilesync/files/patch-zen_thread.h b/sysutils/freefilesync/files/patch-zen_thread.h
deleted file mode 100644
index 533b307238b9..000000000000
--- a/sysutils/freefilesync/files/patch-zen_thread.h
+++ /dev/null
@@ -1,21 +0,0 @@
---- ../../zen/thread.h.orig 2018-03-01 11:48:04.473377000 +0200
-+++ ../../zen/thread.h 2018-03-01 11:48:51.214192000 +0200
-@@ -12,8 +12,7 @@
- #include "scope_guard.h"
- #include "type_traits.h"
- #include "optional.h"
-- #include <sys/prctl.h>
--
-+#include <pthread_np.h>
-
- namespace zen
- {
-@@ -407,7 +406,7 @@
- inline
- void setCurrentThreadName(const char* threadName)
- {
-- ::prctl(PR_SET_NAME, threadName, 0, 0, 0);
-+ pthread_set_name_np(pthread_self(), threadName);
-
- }
-