diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-11-12 22:23:06 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-11-12 22:23:06 +0100 |
| commit | c9bbfc1cf32969c18f73543dc9d4fbda2b1f41a1 (patch) | |
| tree | 52157267467d84cd9ce83265ca4b600b1b802af1 /meson.build | |
| parent | 6b5c7666f580a6ecf29bb116a1bc58867dd9a31f (diff) | |
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') |
