diff --git a/Engine/source/platform/platformMemory.h b/Engine/source/platform/platformMemory.h index 2b56af18b..c9b74c750 100644 --- a/Engine/source/platform/platformMemory.h +++ b/Engine/source/platform/platformMemory.h @@ -27,6 +27,7 @@ namespace Memory { +#if !defined(TORQUE_DISABLE_MEMORY_MANAGER) struct MemInfo { void* ptr; @@ -44,6 +45,7 @@ namespace Memory void shutdown(); void getMemoryInfo(void* ptr, MemInfo& info); void checkPtr(void* ptr); +#endif } #endif // _TORQUE_PLATFORM_PLATFORMMEMORY_H_