diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-09-17 00:37:15 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-29 20:48:58 +0000 |
commit | cdfd5c280a174b9e126908305c250bedbec0be61 (patch) | |
tree | dee5272dc77f4d5a60a5e2609082e06f79d5fdd1 /meson.build | |
parent | 318b5471a18e464cfcd1f7222da7853b7056f9fc (diff) | |
download | mpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.bz2 mpv-cdfd5c280a174b9e126908305c250bedbec0be61.tar.xz |
win32/pthread: define _POSIX_TIMERS to notify they are not supported
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 13f2b612b6..fb167790e0 100644 --- a/meson.build +++ b/meson.build @@ -357,9 +357,6 @@ win32_pthreads = get_option('win32-internal-pthreads').require( features += {'win32-internal-pthreads': win32_pthreads.allowed()} if features['win32-internal-pthreads'] flags += ['-isystem', '-I', '-DIN_WINPTHREAD'] - # Note: Adding this include causes POSIX_TIMERS to be defined for - # unclear reasons (some confusion with <pthread.h> probably). - # Hack around it by using HAVE_WIN32_INTERNAL_PTHREADS. includedir += include_directories('osdep/win32/include') sources += files('osdep/win32/pthread.c') else |