build-sys: require all defines under #if to be present

This should help to catch any errors with typos and HAVE/ENABLE mismatches.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-10-03 12:11:49 +02:00
parent 8e3e2f5f22
commit 70160ce891

View File

@ -242,7 +242,7 @@ if cxx.found()
endif
foreach arg : ['-Wextra',
'-Wundef',
'-Werror=undef',
'-Wlogical-op',
'-Wmissing-include-dirs',
'-Wold-style-definition',