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
This commit is contained in:
erwin.coumans
2010-04-26 20:25:42 +00:00
parent 334420fc79
commit 8723005cd7

View File

@@ -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 <stdint.h>
#define long64 int64_t
#else
#define long64 long long
#endif