diff options
author | Andras Mantia <andras@kdab.com> | 2017-10-09 10:43:02 +0300 |
---|---|---|
committer | Andras Mantia <andras@kdab.com> | 2017-10-10 16:23:07 +0000 |
commit | 7c53b23179bbfc05acf0c60ed8f3b7f81f3a151f (patch) | |
tree | 2fe72e33dd7623137aec4b2bc15f653e3eab5ced /src/3rdparty | |
parent | b55d7078c7f8ba5cd36e5ceb407eae9b77f4bd60 (diff) |
Fix building with clang without the need for C++14
This reverts the change to std::sort to use a lambda with auto
parameters. When using clang the latest g++ std libraries (eg. from
g++ 7) needs to be installed.
Change-Id: I95007707adec0b7a9c215822457351e6b7fcdbee
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs/KD/MinKD.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs/KD/MinKD.c b/src/3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs/KD/MinKD.c index 144aaf34..2e1bba20 100644 --- a/src/3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs/KD/MinKD.c +++ b/src/3rdparty/RuntimePlatformSpecific/Linux/Qt3DSLibs/KD/MinKD.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <math.h> #include <string.h> +#include <time.h> #ifndef __INTEGRITY #include <memory.h> #endif |