diff options
author | Jørgen Lind <jorgen.lind@digia.com> | 2013-06-11 13:19:19 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@digia.com> | 2013-06-11 13:24:28 +0200 |
commit | b8643f09f5a562af47b8b2fa9f65c9a74f11511c (patch) | |
tree | a404f2a91a6aff979658f163c8d5ebaf502f9bb9 /config.tests | |
parent | bb69e8e1bd71513d11b523bb51d353d0fb59d83d (diff) | |
download | qtwayland-b8643f09f5a562af47b8b2fa9f65c9a74f11511c.tar.gz |
Update wayland config test to look for at least 1.1
Change-Id: I1bfdb3f2ade0f1a640bd0e876130b844e2797137
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/wayland/main.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp index e247df3f..de4e9edb 100644 --- a/config.tests/wayland/main.cpp +++ b/config.tests/wayland/main.cpp @@ -43,12 +43,15 @@ int main() { #if WAYLAND_VERSION_MAJOR < 1 -# error Wayland 1.0.3 or higher required +# error Wayland 1.1.0 or higher required #endif -#if WAYLAND_VERSION_MINOR == 0 -# if WAYLAND_VERSION_MICRO < 3 -# error Wayland 1.0.3 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 +# endif return 0; } |