|
@@ -2,6 +2,7 @@
|
|
#include "CritSect.h"
|
|
#include "CritSect.h"
|
|
#include "util/Dictionary.h"
|
|
#include "util/Dictionary.h"
|
|
|
|
|
|
|
|
+
|
|
#ifdef DEF_BF_ALLOCDEBUG
|
|
#ifdef DEF_BF_ALLOCDEBUG
|
|
#define USE_BF_ALLOCDEBUG
|
|
#define USE_BF_ALLOCDEBUG
|
|
#endif
|
|
#endif
|
|
@@ -19,6 +20,8 @@ USING_NS_BF;
|
|
|
|
|
|
#define STOMP_MAGIC 0xBF12BF34
|
|
#define STOMP_MAGIC 0xBF12BF34
|
|
|
|
|
|
|
|
+#ifdef BF_PLATFORM_WINDOWS
|
|
|
|
+
|
|
class BfBitSet
|
|
class BfBitSet
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
@@ -327,6 +330,8 @@ void DbgHeapFree(const void* ptr, const char* fileName, int lineNum)
|
|
assert("Not found" == 0);
|
|
assert("Not found" == 0);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
+
|
|
#ifdef DEF_BF_ALLOCDEBUG
|
|
#ifdef DEF_BF_ALLOCDEBUG
|
|
|
|
|
|
void DbgHeapCheck()
|
|
void DbgHeapCheck()
|