summaryrefslogtreecommitdiffstats
path: root/osdep/threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/threads.c')
-rw-r--r--osdep/threads.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/osdep/threads.c b/osdep/threads.c
index 53d332396d..8cd4545c1e 100644
--- a/osdep/threads.c
+++ b/osdep/threads.c
@@ -21,10 +21,6 @@
#include "config.h"
-#if HAVE_BSD_THREAD_NAME
-#include <pthread_np.h>
-#endif
-
#include "threads.h"
#include "timer.h"
@@ -49,8 +45,6 @@ void mpthread_set_name(const char *name)
}
#elif HAVE_WIN32_INTERNAL_PTHREADS || HAVE_BSD_THREAD_NAME
pthread_set_name_np(pthread_self(), tname);
-#elif HAVE_NETBSD_THREAD_NAME
- pthread_setname_np(pthread_self(), "%s", (void *)tname);
#elif HAVE_OSX_THREAD_NAME
pthread_setname_np(tname);
#endif