diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-06-29 21:03:07 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-07-04 16:29:15 -0400 |
commit | 9dd5f0ae69dd663e3ac994f5808087a65934ac29 (patch) | |
tree | 6f5feceaf960a91261720671dc36d2d2562c7d7c /mesonbuild/compilers/mixins/visualstudio.py | |
parent | 73b3b60436addbca4233073ae5e12945576bf2d4 (diff) | |
download | meson-9dd5f0ae69dd663e3ac994f5808087a65934ac29.zip meson-9dd5f0ae69dd663e3ac994f5808087a65934ac29.tar.gz meson-9dd5f0ae69dd663e3ac994f5808087a65934ac29.tar.bz2 |
compilers: strip get_define output
Fixes get_define() for MSVC. cl with /std:c11 and newer add a trailing
space character when substituting, even if macro is empty. This breaks
parsing preprocessed output to extract value. Since they cannot contain
spaces it is safe to simply strip parsed value.
Fixes: #10179
Diffstat (limited to 'mesonbuild/compilers/mixins/visualstudio.py')
0 files changed, 0 insertions, 0 deletions