diff options
author | Chris Robinson <[email protected]> | 2007-12-19 14:14:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-19 14:14:26 -0800 |
commit | 44df5c35678ae050ab072e64c09ccbe142077898 (patch) | |
tree | 6c1a361655e18dad1b8a19e794793659000913b2 /Alc | |
parent | d14ea2965d16873cadd270328b4410ad0e085102 (diff) |
MacOSX doesn't like global szDebug and g_mutex symbol names
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -33,7 +33,7 @@ /////////////////////////////////////////////////////// // DEBUG INFORMATION -char szDebug[256]; +char _alDebug[256]; /////////////////////////////////////////////////////// @@ -193,7 +193,7 @@ static void InitAL(void) int i; const char *devs; - InitializeCriticalSection(&g_mutex); + InitializeCriticalSection(&_alMutex); ALTHUNK_INIT(); ReadALConfig(); @@ -303,7 +303,7 @@ ALCvoid SetALCError(ALenum errorCode) ALCvoid SuspendContext(ALCcontext *pContext) { (void)pContext; - EnterCriticalSection(&g_mutex); + EnterCriticalSection(&_alMutex); } @@ -315,7 +315,7 @@ ALCvoid SuspendContext(ALCcontext *pContext) ALCvoid ProcessContext(ALCcontext *pContext) { (void)pContext; - LeaveCriticalSection(&g_mutex); + LeaveCriticalSection(&_alMutex); } |