summaryrefslogtreecommitdiffstats
path: root/config.tests/wayland/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/wayland/main.cpp')
-rw-r--r--config.tests/wayland/main.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp
index c03d80349..e247df3f8 100644
--- a/config.tests/wayland/main.cpp
+++ b/config.tests/wayland/main.cpp
@@ -43,7 +43,12 @@
int main()
{
#if WAYLAND_VERSION_MAJOR < 1
-# error Wayland 1.0.0 or higher required
+# error Wayland 1.0.3 or higher required
+#endif
+#if WAYLAND_VERSION_MINOR == 0
+# if WAYLAND_VERSION_MICRO < 3
+# error Wayland 1.0.3 or higher required
+# endif
#endif
return 0;
-} \ No newline at end of file
+}