mirror of https://github.com/libsdl-org/SDL
wayland: Check for both _WAYLAND_CLIENT_H and WAYLAND_CLIENT_H
This commit is contained in:
parent
31e8a4627a
commit
cad67082f3
|
@ -64,7 +64,7 @@ void SDL_WAYLAND_UnloadSymbols(void);
|
||||||
|
|
||||||
#ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
|
#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
|
#error Do not include wayland-client ahead of SDL_waylanddyn.h in dynamic loading mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue