summaryrefslogtreecommitdiffstats
path: root/osdep/win32
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-09-17 00:37:15 +0200
committerDudemanguy <random342@airmail.cc>2023-09-29 20:48:58 +0000
commitcdfd5c280a174b9e126908305c250bedbec0be61 (patch)
treedee5272dc77f4d5a60a5e2609082e06f79d5fdd1 /osdep/win32
parent318b5471a18e464cfcd1f7222da7853b7056f9fc (diff)
downloadmpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.bz2
mpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.xz
win32/pthread: define _POSIX_TIMERS to notify they are not supported
Diffstat (limited to 'osdep/win32')
-rw-r--r--osdep/win32/include/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/win32/include/pthread.h b/osdep/win32/include/pthread.h
index 6c87949831..e92c471f5f 100644
--- a/osdep/win32/include/pthread.h
+++ b/osdep/win32/include/pthread.h
@@ -20,6 +20,8 @@
#include <sys/types.h>
+#define _POSIX_TIMERS 0
+
// Note: all pthread functions are mangled to make static linking easier.
#define pthread_once m_pthread_once
#define pthread_mutex_destroy m_pthread_mutex_destroy