2
0
marauder2k7 5 сар өмнө
parent
commit
e5e3efb30c

+ 2 - 0
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_