enclosed the memory manager in CAUDIO_USE_MMGR

This commit is contained in:
Raynaldo Rivera 2010-02-23 01:07:20 +00:00
parent 1e334ead1a
commit fe2d4c9e8b
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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