diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-11-28 20:32:17 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-11-29 08:00:00 +0000 |
commit | 9b5182d4781bcd6fb37a4030faf325965fde3e93 (patch) | |
tree | 900d7ef5405ae7f83596cc8ea146a47ff2316cec /modules | |
parent | fc927d8f1a6d81e5bcf58096871684b35b793fe2 (diff) | |
download | pam-9b5182d4781bcd6fb37a4030faf325965fde3e93.tar.gz pam-9b5182d4781bcd6fb37a4030faf325965fde3e93.tar.bz2 pam-9b5182d4781bcd6fb37a4030faf325965fde3e93.zip |
meson: correct check for existence of two preprocessor defines
sizeof is meant for *types*, and in case of cross compiling
the test program produced by it has incorrect syntax
__NR_keyctl something;
and will always fail to compile.
* meson.build: Use cc.get_define() instead of cc.sizeof() to check for
preprocessor symbols.
Co-authored-by: Dmitry V. Levin <ldv@strace.io>
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions