enclosed the memory manager in CAUDIO_USE_MMGR
This commit is contained in:
parent
1e334ead1a
commit
fe2d4c9e8b
|
@ -33,7 +33,7 @@
|
|||
|
||||
#ifndef _H_MMGR
|
||||
#define _H_MMGR
|
||||
|
||||
#ifdef CAUDIO_USE_MMGR
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
// For systems that don't have the __FUNCTION__ variable, we can just define it here
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -163,3 +163,4 @@ void operator delete[](void *reportedAddress);
|
|||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
// mmgr.h - End of file
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
#endif
|
|
@ -31,6 +31,8 @@
|
|||
// Copyright 2000, Fluid Studios, Inc., all rights reserved.
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#ifdef CAUDIO_USE_MMGR
|
||||
|
||||
#ifdef new
|
||||
#undef new
|
||||
#endif
|
||||
|
@ -58,3 +60,4 @@
|
|||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
// nommgr.h - End of file
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
#endif
|
|
@ -74,6 +74,7 @@
|
|||
//
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#ifdef CAUDIO_USE_MMGR
|
||||
//#include "stdafx.h"
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
@ -1759,3 +1760,4 @@ sMStats m_getMemoryStatistics()
|
|||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
// mmgr.cpp - End of file
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------
|
||||
#endif
|
Loading…
Reference in New Issue