mirror of https://github.com/axmolengine/axmol.git
fix box2d compile error in ndk
This commit is contained in:
parent
e55c81c9b6
commit
805312b3d3
|
@ -20,6 +20,7 @@
|
||||||
#include <Box2D/Collision/Shapes/b2EdgeShape.h>
|
#include <Box2D/Collision/Shapes/b2EdgeShape.h>
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
b2ChainShape::~b2ChainShape()
|
b2ChainShape::~b2ChainShape()
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include <Box2D/Collision/b2DynamicTree.h>
|
#include <Box2D/Collision/b2DynamicTree.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
b2DynamicTree::b2DynamicTree()
|
b2DynamicTree::b2DynamicTree()
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] =
|
int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#define B2_GROWABLE_STACK_H
|
#define B2_GROWABLE_STACK_H
|
||||||
#include <Box2D/Common/b2Settings.h>
|
#include <Box2D/Common/b2Settings.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/// This is a growable LIFO stack with an initial capacity of N.
|
/// This is a growable LIFO stack with an initial capacity of N.
|
||||||
/// If the stack size exceeds the initial capacity, the heap is used
|
/// If the stack size exceeds the initial capacity, the heap is used
|
||||||
|
|
Loading…
Reference in New Issue