_DEBUG -> DEBUG

This commit is contained in:
Steve Checkoway
2009-01-06 17:54:21 +00:00
parent d498ec08f1
commit 17cc65e8fd
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ void ActorFrame::LoadChildrenFromNode( const XNode* pNode )
void ActorFrame::AddChild( Actor *pActor )
{
#if _DEBUG
#ifdef DEBUG
// check that this Actor isn't already added.
vector<Actor*>::iterator iter = find( m_SubActors.begin(), m_SubActors.end(), pActor );
if( iter != m_SubActors.end() )
+1 -1
View File
@@ -162,7 +162,7 @@ void MessageManager::Subscribe( IMessageSubscriber* pSubscriber, const RString&
LockMut(g_Mutex);
SubscribersSet& subs = g_MessageToSubscribers[sMessage];
#if _DEBUG
#ifdef DEBUG
SubscribersSet::iterator iter = subs.find(pSubscriber);
ASSERT_M( iter == subs.end(), ssprintf("already subscribed to '%s'",sMessage.c_str()) );
#endif
+2 -2
View File
@@ -13,11 +13,11 @@
#include "mad-0.15.1b/mad.h"
#ifdef _MSC_VER
#ifdef _XBOX
#ifdef _DEBUG
#ifdef DEBUG
#pragma comment(lib, "mad-0.15.1b/xboxmad/debug/xboxmad.lib")
#else
#pragma comment(lib, "mad-0.15.1b/xboxmad/Release/xboxmad.lib")
#endif // _DEBUG
#endif // DEBUG
#else
#pragma comment(lib, "mad-0.15.1b/msvc++/Release/libmad.lib")
#endif // _XBOX
+1 -1
View File
@@ -33,7 +33,7 @@ public:
{
if( m_pSubscribers == NULL )
m_pSubscribers = new set<T*>;
#if _DEBUG
#ifdef DEBUG
typename set<T*>::iterator iter = m_pSubscribers->find( p );
ASSERT_M( iter == m_pSubscribers->end(), "already subscribed" );
#endif