aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-19 14:14:26 -0800
committerChris Robinson <[email protected]>2007-12-19 14:14:26 -0800
commit44df5c35678ae050ab072e64c09ccbe142077898 (patch)
tree6c1a361655e18dad1b8a19e794793659000913b2 /Alc
parentd14ea2965d16873cadd270328b4410ad0e085102 (diff)
MacOSX doesn't like global szDebug and g_mutex symbol names
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index a721f0de..b4ec8e9f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);
}