summaryrefslogtreecommitdiffstats
path: root/src/foundation/Qt3DSAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/foundation/Qt3DSAllocator.h')
-rw-r--r--src/foundation/Qt3DSAllocator.h4
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>