mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
Fix build on Linux/OSX
This commit is contained in:
parent
f85d6c213e
commit
d4038c1ad9
2 changed files with 10 additions and 2 deletions
|
@ -7,11 +7,18 @@
|
||||||
#include "MemoryAllocatorSmallBlock.h"
|
#include "MemoryAllocatorSmallBlock.h"
|
||||||
#include "bithacks.h"
|
#include "bithacks.h"
|
||||||
|
|
||||||
//#define DD(...) logdev(__VA_ARGS__)
|
#include <assert.h>
|
||||||
|
|
||||||
|
//#define DD(...) fprintf(stderr, __VA_ARGS__)
|
||||||
#define DD(...)
|
#define DD(...)
|
||||||
#define logdev(...)
|
#define logdev(...)
|
||||||
#define logerror(...)
|
#define logerror(...)
|
||||||
#define ASSERT(x) assert(x)
|
|
||||||
|
#ifdef NDEBUG
|
||||||
|
# define ASSERT(x)
|
||||||
|
#else
|
||||||
|
# define ASSERT(x) assert(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
SmallBlockAllocator::SmallBlockAllocator(unsigned int blockSizeMin,
|
SmallBlockAllocator::SmallBlockAllocator(unsigned int blockSizeMin,
|
||||||
|
|
|
@ -448,6 +448,7 @@ SET(BBGE_SRCS
|
||||||
${BBGEDIR}/LensFlare.cpp
|
${BBGEDIR}/LensFlare.cpp
|
||||||
${BBGEDIR}/Localization.cpp
|
${BBGEDIR}/Localization.cpp
|
||||||
${BBGEDIR}/Math.cpp
|
${BBGEDIR}/Math.cpp
|
||||||
|
${BBGEDIR}/MemoryAllocatorSmallBlock.cpp
|
||||||
${BBGEDIR}/MT.cpp
|
${BBGEDIR}/MT.cpp
|
||||||
${BBGEDIR}/ParticleEffect.cpp
|
${BBGEDIR}/ParticleEffect.cpp
|
||||||
${BBGEDIR}/ParticleManager.cpp
|
${BBGEDIR}/ParticleManager.cpp
|
||||||
|
|
Loading…
Reference in a new issue