summaryrefslogtreecommitdiffstats
path: root/osdep/threads-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/threads-posix.h')
-rw-r--r--osdep/threads-posix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/threads-posix.h b/osdep/threads-posix.h
index 4cda0bebfc..b930506958 100644
--- a/osdep/threads-posix.h
+++ b/osdep/threads-posix.h
@@ -23,7 +23,7 @@
#include "common/common.h"
#include "config.h"
-// We make use of NON-POSIX pthreads functions and certain systems
+// We make use of NON-POSIX pthreads functions and certain systems
// require this header to build without issues. (ex: OpenBSD)
#if HAVE_BSD_THREAD_NAME
#include <pthread_np.h>
@@ -235,7 +235,7 @@ static inline void mp_thread_set_name(const char *name)
}
#elif HAVE_BSD_THREAD_NAME
pthread_set_name_np(pthread_self(), name);
-#elif HAVE_OSX_THREAD_NAME
+#elif HAVE_MAC_THREAD_NAME
pthread_setname_np(name);
#endif
}