summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-08-31 16:09:43 +0300
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-09-01 12:13:18 +0000
commit8fe1c75a0f04ebcc425136d1956f2a367f6b3c13 (patch)
treee79a2ecbb5482645a0d86e9e208cdd0c57baa14e
parentf55163c647e622a47bb52d8f9e96833f2a640960 (diff)
Test only for KHR headerv5.6.0-alpha1
Raspberry Pi toolchain from yocto uses older khr headers that do not include defines for KHRONOS_FALSE and KHRONOS_TRUE, but can still be used to build qtwebengine correctly. Change-Id: Ia7a6420ba142141ebb16d880f989eb56f892f1a3 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r--tools/qmake/config.tests/khr/khr.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/qmake/config.tests/khr/khr.cpp b/tools/qmake/config.tests/khr/khr.cpp
index 6182df28..01c0c26c 100644
--- a/tools/qmake/config.tests/khr/khr.cpp
+++ b/tools/qmake/config.tests/khr/khr.cpp
@@ -38,7 +38,5 @@
int main(int, char **)
{
- const khronos_boolean_enum_t kfalse = KHRONOS_FALSE;
- const khronos_boolean_enum_t ktrue = KHRONOS_TRUE;
- return kfalse == ktrue;
+ return 0;
}