summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2014-01-09 16:16:50 +0100
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-01-17 14:40:01 +0100
commit2b8543d5916083ceb6d0d71071275a74a5c0a86f (patch)
tree367e20189e73a2fadae2105cf0abc6d542fa2c68 /config.tests
parent0f239080709b5f0e705fcfe708c1a356524d5efe (diff)
downloadqtwayland-2b8543d5916083ceb6d0d71071275a74a5c0a86f.tar.gz
qtwayland-2b8543d5916083ceb6d0d71071275a74a5c0a86f.tar.bz2
qtwayland-2b8543d5916083ceb6d0d71071275a74a5c0a86f.zip
Update the required wayland version to 1.3
Change-Id: Id1c9d14061d513f6c37a59ed8161732366ab3526 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/wayland/main.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp
index de4e9edb..fb991530 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;
}