mirror of https://github.com/mpv-player/mpv
meson: add missing _GNU_SOURCE in check
This commit is contained in:
parent
ed107c4116
commit
d0e609297f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue