diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-12 20:35:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 20:35:27 -0500 |
commit | 27b930df24b59fdbc8996f86e702849e8a3678b1 (patch) | |
tree | 52157267467d84cd9ce83265ca4b600b1b802af1 /meson.build | |
parent | 3b8d4a9212c335211001e96a0b0fbcb8049d0557 (diff) | |
parent | 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (diff) |
Merge pull request #3117 from emersion/wlroots-config10
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/meson.build b/meson.build index 6b23b4e3..8327b763 100644 --- a/meson.build +++ b/meson.build @@ -9,11 +9,17 @@ project( ], ) -add_project_arguments('-Wno-unused-parameter', language: 'c') -add_project_arguments('-Wno-unused-function', language: 'c') -add_project_arguments('-Wno-unused-result', language: 'c') -add_project_arguments('-DWL_HIDE_DEPRECATED', language: 'c') -add_project_arguments('-DWLR_USE_UNSTABLE', language: 'c') +add_project_arguments( + [ + '-DWL_HIDE_DEPRECATED', + '-DWLR_USE_UNSTABLE', + + '-Wno-unused-parameter', + '-Wno-unused-result', + '-Wundef', + ], + language: 'c', +) cc = meson.get_compiler('c') |