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