diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 605c9b4e992..5fa608c4dd0 100644 --- a/configure.ac +++ b/configure.ac @@ -1718,7 +1718,7 @@ for plat in $platforms; do if test "x$have_wayland_protocols" = xno; then AC_MSG_ERROR([wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED is needed to compile the wayland platform]) fi - DEFINES="$DEFINES -DHAVE_WAYLAND_PLATFORM" + DEFINES="$DEFINES -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED" ;; x11) 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> |