mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Use #if instead of #ifdef for WLR_HAS_*
This commit is contained in:
parent
3b8d4a9212
commit
2afd930914
4 changed files with 14 additions and 22 deletions
16
meson.build
16
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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue