From cad67082f325ea29a742bc9bf6ee5eba83372c79 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 4 Feb 2021 19:04:56 -0500 Subject: [PATCH] wayland: Check for both _WAYLAND_CLIENT_H and WAYLAND_CLIENT_H --- src/video/wayland/SDL_waylanddyn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylanddyn.h b/src/video/wayland/SDL_waylanddyn.h index dc5e619f6..63b831f0a 100644 --- a/src/video/wayland/SDL_waylanddyn.h +++ b/src/video/wayland/SDL_waylanddyn.h @@ -64,7 +64,7 @@ void SDL_WAYLAND_UnloadSymbols(void); #ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC -#ifdef _WAYLAND_CLIENT_H +#if defined(_WAYLAND_CLIENT_H) || defined(WAYLAND_CLIENT_H) #error Do not include wayland-client ahead of SDL_waylanddyn.h in dynamic loading mode #endif