Use scoped locks instead of CRITICAL_BLOCK
This commit is contained in:
@@ -195,8 +195,8 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
|
||||
static CCriticalSection cs_OutputDebugStringF;
|
||||
|
||||
// accumulate a line at a time
|
||||
CRITICAL_BLOCK(cs_OutputDebugStringF)
|
||||
{
|
||||
LOCK(cs_OutputDebugStringF);
|
||||
static char pszBuffer[50000];
|
||||
static char* pend;
|
||||
if (pend == NULL)
|
||||
|
||||
Reference in New Issue
Block a user