summaryrefslogtreecommitdiffstats
path: root/osdep/win32/include/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/win32/include/pthread.h')
-rw-r--r--osdep/win32/include/pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/win32/include/pthread.h b/osdep/win32/include/pthread.h
index 870e9d7d5c..271cae0f0a 100644
--- a/osdep/win32/include/pthread.h
+++ b/osdep/win32/include/pthread.h
@@ -33,6 +33,7 @@
#define pthread_join m_pthread_join
#define pthread_detach m_pthread_detach
#define pthread_create m_pthread_create
+#define pthread_set_name_np m_pthread_set_name_np
#define pthread_once_t INIT_ONCE
#define PTHREAD_ONCE_INIT INIT_ONCE_STATIC_INIT
@@ -97,4 +98,6 @@ int pthread_detach(pthread_t thread);
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
void *(*start_routine) (void *), void *arg);
+void pthread_set_name_np(pthread_t thread, const char *name);
+
#endif