diff options
author | Emil Velikov <[email protected]> | 2017-09-01 11:51:49 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-09-19 19:02:34 +0100 |
commit | fa6b9be22c7a85a8766a31411caafdbe1694d7dc (patch) | |
tree | 197501ccaa38f8d4f52c113c5f84d8d958304ee6 /src | |
parent | be52bd17ebf114e7ad16a6d9d0135cdbb0723cd0 (diff) |
configure.ac: define WL_HIDE_DEPRECATED at global scale
Due to GCC feature described in previous commit, the expected
deprecation warnings may be missing.
Set the WL_HIDE_DEPRECATED macro which will omit the deprecated
functionality, resulting in more distinct build issues.
That is safe since the symbols guarded within the macro is static.
Signed-off-by: Emil Velikov <[email protected]>
Suggested-by: Pekka Paalanen <[email protected]>
Acked-by: Pekka Paalanen <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 42bca61cfda..8f589926963 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -25,8 +25,6 @@ * Kristian Høgsberg <[email protected]> */ -#define WL_HIDE_DEPRECATED - #include <stdbool.h> #include <stdint.h> #include <stdbool.h> |