diff options
author | Simon McVittie <smcv@collabora.com> | 2024-01-15 20:00:43 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2024-01-15 20:00:43 +0000 |
commit | 00449e75434c9c6042e00303fe61a10040024164 (patch) | |
tree | aef6c8a1ea147d4b00500baaf98f3fe88a82fb22 | |
parent | d9756df2f0e15c707f0fd65aada96122a08e6f9e (diff) | |
parent | e52ccaf7c3abf9d0adccfd001c1417ce08a7f335 (diff) |
Merge branch 'meson-visual-studio-2022' into 'master'
meson: Use check_header to confirm headers work
Closes #494
See merge request dbus/dbus!454
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 17b2a837..19b41cd9 100644 --- a/meson.build +++ b/meson.build @@ -705,7 +705,7 @@ check_headers = [ foreach header : check_headers macro = 'HAVE_' + header.underscorify().to_upper() - config.set(macro, cc.has_header(header, args: compile_args_c) ? 1 : false) + config.set(macro, cc.check_header(header, args: compile_args_c) ? 1 : false) endforeach execinfo = cc.find_library('execinfo', required: false) |