From 8723005cd7ce1b546a76a3727f4941827eeb2b7c Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Mon, 26 Apr 2010 20:25:42 +0000 Subject: [PATCH] fix for MinGW compiler support in bChunk.h serialization thanks to comicfans44 for the report and fix: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5014&p=18368#p18368 --- Extras/Serialize/BulletFileLoader/bChunk.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Extras/Serialize/BulletFileLoader/bChunk.h b/Extras/Serialize/BulletFileLoader/bChunk.h index befb364af..77039bcf9 100644 --- a/Extras/Serialize/BulletFileLoader/bChunk.h +++ b/Extras/Serialize/BulletFileLoader/bChunk.h @@ -16,9 +16,11 @@ subject to the following restrictions: #ifndef __BCHUNK_H__ #define __BCHUNK_H__ - #if defined (_WIN32) && ! defined (__MINGW32__) #define long64 __int64 +#elif defined (__MINGW32__) + #include + #define long64 int64_t #else #define long64 long long #endif