mirror of https://github.com/axmolengine/axmol.git
fixed #943: Box2d can't be compiled successfully on bada sdk 1.2.1
This commit is contained in:
parent
71177c27f2
commit
ad50b3f87e
|
@ -22,7 +22,12 @@
|
|||
#include <Box2D/Collision/Shapes/b2CircleShape.h>
|
||||
#include <Box2D/Collision/Shapes/b2PolygonShape.h>
|
||||
|
||||
#ifdef SHP
|
||||
#include <stdio.h>
|
||||
#else
|
||||
#include <cstdio>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
int32 b2_toiCalls, b2_toiIters, b2_toiMaxIters;
|
||||
|
|
|
@ -17,11 +17,15 @@
|
|||
*/
|
||||
|
||||
#include <Box2D/Common/b2Settings.h>
|
||||
#ifdef SHP
|
||||
#include <FBaseSys.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <cstdarg>
|
||||
#ifdef SHP
|
||||
#include <FBaseSys.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue