aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/visualstudio.py
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-06-29 21:03:07 +0200
committerEli Schwartz <eschwartz93@gmail.com>2023-07-04 16:29:15 -0400
commit9dd5f0ae69dd663e3ac994f5808087a65934ac29 (patch)
tree6f5feceaf960a91261720671dc36d2d2562c7d7c /mesonbuild/compilers/mixins/visualstudio.py
parent73b3b60436addbca4233073ae5e12945576bf2d4 (diff)
downloadmeson-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