aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation
diff options
context:
space:
mode:
Diffstat (limited to 'dep/recastnavigation')
-rw-r--r--dep/recastnavigation/Detour/DetourNavMesh.h2
-rw-r--r--dep/recastnavigation/recast_hotfix1.diff13
2 files changed, 14 insertions, 1 deletions
diff --git a/dep/recastnavigation/Detour/DetourNavMesh.h b/dep/recastnavigation/Detour/DetourNavMesh.h
index 52d2c505ec9..99e30c75142 100644
--- a/dep/recastnavigation/Detour/DetourNavMesh.h
+++ b/dep/recastnavigation/Detour/DetourNavMesh.h
@@ -21,7 +21,7 @@
#include "DetourAlloc.h"
-#ifdef WIN32
+#if defined(WIN32) && not defined(__MINGW32__)
typedef unsigned __int64 uint64;
#else
#include <stdint.h>
diff --git a/dep/recastnavigation/recast_hotfix1.diff b/dep/recastnavigation/recast_hotfix1.diff
new file mode 100644
index 00000000000..6e8fc3397e3
--- /dev/null
+++ b/dep/recastnavigation/recast_hotfix1.diff
@@ -0,0 +1,13 @@
+diff --git a/dep/recastnavigation/Detour/DetourNavMesh.h b/dep/recastnavigation/Detour/DetourNavMesh.h
+index 52d2c50..99e30c7 100644
+--- a/dep/recastnavigation/Detour/DetourNavMesh.h
++++ b/dep/recastnavigation/Detour/DetourNavMesh.h
+@@ -21,7 +21,7 @@
+
+ #include "DetourAlloc.h"
+
+-#ifdef WIN32
++#if defined(WIN32) && not defined(__MINGW32__)
+ typedef unsigned __int64 uint64;
+ #else
+ #include <stdint.h>