Browse Source

Missed a bit. Readded an accidental removal, and cleaned up an extraneous endif

Areloch 8 years ago
parent
commit
bf229a9c0b

+ 4 - 0
Engine/source/console/debugOutputConsumer.h

@@ -27,6 +27,10 @@
 
 
 //#define TORQUE_LOCBUILD
 //#define TORQUE_LOCBUILD
 
 
+#if !defined(TORQUE_DEBUG) && !defined(TORQUE_LOCBUILD)
+   #define DISABLE_DEBUG_SPEW
+#endif
+
 #include "console/console.h"
 #include "console/console.h"
 
 
 namespace DebugOutputConsumer
 namespace DebugOutputConsumer

+ 1 - 3
Engine/source/platform/platformCPUCount.cpp

@@ -30,7 +30,7 @@
 #include "platform/platform.h"
 #include "platform/platform.h"
 #include "platform/platformCPUCount.h"
 #include "platform/platformCPUCount.h"
 
 
-#if defined(TORQUE_OS_LINUX) || defined(TORQUE_OS_MAC)
+#if defined(TORQUE_OS_LINUX) || defined(TORQUE_OS_OSX)
 
 
 #ifdef TORQUE_OS_LINUX
 #ifdef TORQUE_OS_LINUX
 // 	The Linux source code listing can be compiled using Linux kernel verison 2.6 
 // 	The Linux source code listing can be compiled using Linux kernel verison 2.6 
@@ -654,6 +654,4 @@ next:
 } // namespace CPUInfo
 } // namespace CPUInfo
 #endif
 #endif
 
 
-#endif
-
 #endif
 #endif