Browse Source

Linux fix

Brian Fiete 5 years ago
parent
commit
b1a96fe001
2 changed files with 5 additions and 5 deletions
  1. 5 0
      BeefySysLib/util/AllocDebug.cpp
  2. 0 5
      IDEHelper/Backend/BeCOFFObject.cpp

+ 5 - 0
BeefySysLib/util/AllocDebug.cpp

@@ -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()

+ 0 - 5
IDEHelper/Backend/BeCOFFObject.cpp

@@ -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);