mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Linux fix
This commit is contained in:
parent
aaccaa97e2
commit
b1a96fe001
2 changed files with 5 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
#include "CritSect.h"
|
||||
#include "util/Dictionary.h"
|
||||
|
||||
|
||||
#ifdef DEF_BF_ALLOCDEBUG
|
||||
#define USE_BF_ALLOCDEBUG
|
||||
#endif
|
||||
|
@ -19,6 +20,8 @@ USING_NS_BF;
|
|||
|
||||
#define STOMP_MAGIC 0xBF12BF34
|
||||
|
||||
#ifdef BF_PLATFORM_WINDOWS
|
||||
|
||||
class BfBitSet
|
||||
{
|
||||
public:
|
||||
|
@ -327,6 +330,8 @@ void DbgHeapFree(const void* ptr, const char* fileName, int lineNum)
|
|||
assert("Not found" == 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef DEF_BF_ALLOCDEBUG
|
||||
|
||||
void DbgHeapCheck()
|
||||
|
|
|
@ -2010,11 +2010,6 @@ void BeCOFFObject::Generate(BeModule* module)
|
|||
|
||||
BF_ASSERT(globalVar->mAlign != -1);
|
||||
|
||||
if (globalVar->mName == "sBfTypeData._J")
|
||||
{
|
||||
NOP;
|
||||
}
|
||||
|
||||
if (globalVar->mIsConstant)
|
||||
{
|
||||
auto constVal = BeValueDynCast<BeConstant>(globalVar->mInitializer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue