diff options
author | Nay <dnpd.dd@gmail.com> | 2013-03-09 00:12:50 +0000 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2013-03-09 00:12:50 +0000 |
commit | c7463c5f6cd3d882a960eff2cbd414f33ddf0b32 (patch) | |
tree | ab23a6a592b381e6b0f2e63ba88fc1e38b90856a /dep/recastnavigation | |
parent | 2dbe3d6cfe2d174b5edf9fdb6720fee21c7009d2 (diff) |
Buildsystem: Add support for compiling with MinGW on Windows
Tested with:
- Windows 8 x64
- MySQL 5.5.30 win32
- OpenSSL 1.0.1c (32 bits)
- No PCH
- MinGW with GCC 4.7.0
TODO:
- Fix compile/link with PCH enabled
- Fix compile with WheatyExceptonionReport enabled (ignored for now)
- Fix compile of .rc files (ignored for now)
- Test with more platforms
Diffstat (limited to 'dep/recastnavigation')
-rw-r--r-- | dep/recastnavigation/Detour/DetourNavMesh.h | 2 | ||||
-rw-r--r-- | dep/recastnavigation/recast_hotfix1.diff | 13 |
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> |