diff options
author | Tomi Korpipää <tomi.korpipaa@qt.io> | 2020-06-16 11:03:10 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2020-06-16 11:11:26 +0300 |
commit | 1c2f256c2afd320bec7e94bfc94760892d6fc9e8 (patch) | |
tree | 224c0d11aa0e82eb609bcff0eacc1d42b95604f9 | |
parent | 03b82b24de1856a9d5e469acbc18a8adad24a0e5 (diff) |
Add support for MSVC2019 compilerv2.7.0-5.15.02.7
Change-Id: Iac363eb60ad2d046e61d1d6d05cf80e6faf7e634
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | src/foundation/Qt3DSAllocator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/foundation/Qt3DSAllocator.h b/src/foundation/Qt3DSAllocator.h index cdbbe5f..2c90593 100644 --- a/src/foundation/Qt3DSAllocator.h +++ b/src/foundation/Qt3DSAllocator.h @@ -36,7 +36,11 @@ #include "foundation/Qt3DSAssert.h" #if (defined(QT3DS_WINDOWS) | defined(QT3DS_X360)) +#if _MSC_VER < 1920 // 1920+ = MSVC2019 #include <typeinfo.h> +#else +#include <typeinfo> +#endif #endif #if (defined(QT3DS_APPLE)) #include <typeinfo> |