aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/OpenAL32.c
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 /OpenAL32/OpenAL32.c
parentd14ea2965d16873cadd270328b4410ad0e085102 (diff)
MacOSX doesn't like global szDebug and g_mutex symbol names
Diffstat (limited to 'OpenAL32/OpenAL32.c')
-rw-r--r--OpenAL32/OpenAL32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/OpenAL32.c b/OpenAL32/OpenAL32.c
index b638d945..678888b0 100644
--- a/OpenAL32/OpenAL32.c
+++ b/OpenAL32/OpenAL32.c
@@ -22,7 +22,7 @@
#include "alBuffer.h"
#include "alThunk.h"
-CRITICAL_SECTION g_mutex;
+CRITICAL_SECTION _alMutex;
#ifdef _WIN32
BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved)
@@ -40,7 +40,7 @@ BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved)
ReleaseALBuffers();
FreeALConfig();
ALTHUNK_EXIT();
- DeleteCriticalSection(&g_mutex);
+ DeleteCriticalSection(&_alMutex);
break;
}
return TRUE;
@@ -57,7 +57,7 @@ static void my_deinit()
ReleaseALBuffers();
FreeALConfig();
ALTHUNK_EXIT();
- DeleteCriticalSection(&g_mutex);
+ DeleteCriticalSection(&_alMutex);
}
#endif
#endif