summaryrefslogtreecommitdiffstats
path: root/osdep/threads-posix.h
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-02-27 16:55:29 +0100
committerder richter <der.richter@gmx.de>2024-02-28 15:52:47 +0100
commit86fa9b18a3619a379a597ca0902c23dc053cafc0 (patch)
treef187f85a97744bd0468290975e5ec4d10054b25b /osdep/threads-posix.h
parent661f45377a17635125ae36f0b8a3487ae13cf606 (diff)
downloadmpv-86fa9b18a3619a379a597ca0902c23dc053cafc0.tar.bz2
mpv-86fa9b18a3619a379a597ca0902c23dc053cafc0.tar.xz
osdep/mac: make mac naming of files, folders and function consistent
rename all macOS namings (osx, macosx, macOS, macos, apple) to mac, to make naming consistent.
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
}