1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 05:59:16 +00:00

Fix build on Linux/OSX

This commit is contained in:
fgenesis 2013-08-26 22:25:36 +02:00
parent f85d6c213e
commit d4038c1ad9
2 changed files with 10 additions and 2 deletions

View file

@ -7,11 +7,18 @@
#include "MemoryAllocatorSmallBlock.h"
#include "bithacks.h"
//#define DD(...) logdev(__VA_ARGS__)
#include <assert.h>
//#define DD(...) fprintf(stderr, __VA_ARGS__)
#define DD(...)
#define logdev(...)
#define logerror(...)
#define ASSERT(x) assert(x)
#ifdef NDEBUG
# define ASSERT(x)
#else
# define ASSERT(x) assert(x)
#endif
SmallBlockAllocator::SmallBlockAllocator(unsigned int blockSizeMin,

View file

@ -448,6 +448,7 @@ SET(BBGE_SRCS
${BBGEDIR}/LensFlare.cpp
${BBGEDIR}/Localization.cpp
${BBGEDIR}/Math.cpp
${BBGEDIR}/MemoryAllocatorSmallBlock.cpp
${BBGEDIR}/MT.cpp
${BBGEDIR}/ParticleEffect.cpp
${BBGEDIR}/ParticleManager.cpp