diff options
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/wayland/main.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp index de4e9edbb..fb9915305 100644 --- a/config.tests/wayland/main.cpp +++ b/config.tests/wayland/main.cpp @@ -43,15 +43,17 @@ int main() { #if WAYLAND_VERSION_MAJOR < 1 -# error Wayland 1.1.0 or higher required +# error Wayland 1.3.0 or higher required #endif -#if WAYLAND_VERSION_MINOR < 1 -# error Wayland 1.1.0 or higher required -#endif -#if WAYLAND_VERSION_MINOR < 2 -//# if WAYLAND_VERSION_MICRO < 0 -//# error Wayland 1.1.0 or higher required -//# endif +#if WAYLAND_VERSION_MAJOR == 1 +# if WAYLAND_VERSION_MINOR < 3 +# error Wayland 1.3.0 or higher required +# endif +# if WAYLAND_VERSION_MINOR == 3 +# if WAYLAND_VERSION_MICRO < 0 +# error Wayland 1.3.0 or higher required +# endif # endif +#endif return 0; } |