aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-08-27 18:01:00 +1200
committerScott Anderson <scott@anderso.nz>2018-08-27 18:01:00 +1200
commitff86dc0c358523cfc2fce050c041c27a448533fb (patch)
tree5b8664c37e8b98dc68cb3fa9a7648a7564d5e51d
parentd6a5dfc913ba958d38af907ddb7acd7483a1cee7 (diff)
downloadsway-ff86dc0c358523cfc2fce050c041c27a448533fb.tar.xz
Hide deprecated wayland functions
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 0e4b4f21..d5b33e6b 100644
--- a/meson.build
+++ b/meson.build
@@ -12,6 +12,7 @@ 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')
cc = meson.get_compiler('c')