Skip to content

meson: Convert -DFOO=1 to -DFOO

Yonggang Luo requested to merge lygstate/mesa:meson-trivial-fixes into main

-DFOO=1 and -DFOO=0 should be paired, otherwise -DFOO=1 are misleading the programmer to using the invalid usage: #if FOO But the valid usage are: #if defined(FOO) So we prefer -DFOO and using '#if defined(FOO)'

Signed-off-by: Yonggang Luo luoyonggang@gmail.com

Edited by Adam Jackson

Merge request reports