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