Commit cad67082f325ea29a742bc9bf6ee5eba83372c79

Ethan Lee 2021-02-04T19:04:56

wayland: Check for both _WAYLAND_CLIENT_H and WAYLAND_CLIENT_H

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/wayland/SDL_waylanddyn.h b/src/video/wayland/SDL_waylanddyn.h
index dc5e619..63b831f 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