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:
@@ -16,9 +16,11 @@ subject to the following restrictions:
|
|||||||
#ifndef __BCHUNK_H__
|
#ifndef __BCHUNK_H__
|
||||||
#define __BCHUNK_H__
|
#define __BCHUNK_H__
|
||||||
|
|
||||||
|
|
||||||
#if defined (_WIN32) && ! defined (__MINGW32__)
|
#if defined (_WIN32) && ! defined (__MINGW32__)
|
||||||
#define long64 __int64
|
#define long64 __int64
|
||||||
|
#elif defined (__MINGW32__)
|
||||||
|
#include <stdint.h>
|
||||||
|
#define long64 int64_t
|
||||||
#else
|
#else
|
||||||
#define long64 long long
|
#define long64 long long
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user