mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
meson: add missing _GNU_SOURCE in check
This commit is contained in:
@@ -367,6 +367,7 @@ if not features['win32-threads']
|
||||
features += {'pthread-condattr-setclock':
|
||||
cc.has_header_symbol('pthread.h',
|
||||
'pthread_condattr_setclock',
|
||||
args: '-D_GNU_SOURCE',
|
||||
dependencies: pthreads)}
|
||||
dependencies += pthreads
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user