meson: add missing _GNU_SOURCE in check

This commit is contained in:
Kacper Michajłow
2023-11-25 12:38:20 +01:00
committed by sfan5
parent ed107c4116
commit d0e609297f
+1
View File
@@ -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