summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2013-03-02 18:42:54 +0100
committerAndy Nichols <andy.nichols@digia.com>2013-03-02 22:06:26 +0100
commit317c735b2e5694a87c9a87b177e6915c070e2a56 (patch)
tree558d3754b7a7dee1f4c6db9515d80c0c38b7a0c0 /config.tests
parent4d124fea48a0d094443ed0e031c8e28ec04611a3 (diff)
downloadqtwayland-317c735b2e5694a87c9a87b177e6915c070e2a56.tar.gz
Set required Wayland version to 1.0.3 or higher
We need this version to support the changes made for threaded Wayland event processing. Change-Id: I64babb4e21c3581feb5db843539f85539011c1e6 Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
Diffstat (limited to 'config.tests')
-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 c03d8034..e247df3f 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
+}