mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
minor compilation sanity check
This commit is contained in:
parent
b19e098094
commit
d5919c1431
@ -396,6 +396,10 @@ MemoryUsage() {
|
||||
_count_memory_usage = false;
|
||||
#endif
|
||||
|
||||
#ifdef USE_MEMORY_NOWRAPPERS
|
||||
#error Cannot compile MemoryUsage without malloc wrappers!
|
||||
#endif
|
||||
|
||||
if (_track_memory_usage) {
|
||||
// Redefine the global pointers for operator new and operator
|
||||
// delete (these pointers are defined up in DTOOL) to vector into
|
||||
|
Loading…
x
Reference in New Issue
Block a user