2
0
Эх сурвалжийг харах

From Dušan Jocić: convexDecomp vs2015+ compatibility patch
(Verified with https://github.com/GarageGames/Torque3D/pull/1376 for sub vs2015)

Azaezel 10 жил өмнө
parent
commit
a487583946

+ 5 - 1
Engine/lib/convexDecomp/NvRemoveTjunctions.cpp

@@ -60,8 +60,12 @@ NvRemoveTjunctions.cpp : A code snippet to remove tjunctions from a triangle mes
 #include <vector>
 #ifdef __APPLE__
    #include <ext/hash_map>
-#else
+#elif LINUX
    #include <hash_map>
+#elif _MSC_VER < 1500
+   #include <hash_map>
+#elif _MSC_VER > 1800
+   #include <unordered_map>
 #endif
 #include "NvUserMemAlloc.h"
 #include "NvHashMap.h"