meson: add missing _GNU_SOURCE in check
This commit is contained in:
1 parent
ed107c4116
commit
d0e609297f
1 file changed
+1
@@ -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