Added missing #ifdef _DEBUG in cCriticalSection.cpp
Should compile in Release and on Linux now git-svn-id: http://mc-server.googlecode.com/svn/trunk@191 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
f7d690c070
commit
96da48401b
@ -79,9 +79,11 @@ void cCriticalSection::Unlock()
|
|||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// cCSLock
|
// cCSLock
|
||||||
|
|
||||||
cCSLock::cCSLock(cCriticalSection * a_CS) :
|
cCSLock::cCSLock(cCriticalSection * a_CS)
|
||||||
m_CS(a_CS),
|
: m_CS(a_CS)
|
||||||
m_IsLocked(false)
|
#ifdef _DEBUG
|
||||||
|
, m_IsLocked(false)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
Lock();
|
Lock();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user