diff options
author | Chris Robinson <[email protected]> | 2014-04-16 01:39:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-16 01:39:11 -0700 |
commit | 29cb5058c0b05cca8ebeb40d84aba8a8d2e11075 (patch) | |
tree | 749d963f365901b22eabd8eaf164f38f2efb8789 /Alc/compat.h | |
parent | 9c70ca9da6479595946def59cd616e6823c86d78 (diff) |
Use a C11-like mutex wrapper instead of CRITICAL_SECTIONs
Diffstat (limited to 'Alc/compat.h')
-rw-r--r-- | Alc/compat.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Alc/compat.h b/Alc/compat.h index 426dad9d..9891412d 100644 --- a/Alc/compat.h +++ b/Alc/compat.h @@ -32,12 +32,6 @@ FILE *al_fopen(const char *fname, const char *mode); #include <pthread.h> -typedef pthread_mutex_t CRITICAL_SECTION; -void InitializeCriticalSection(CRITICAL_SECTION *cs); -void DeleteCriticalSection(CRITICAL_SECTION *cs); -void EnterCriticalSection(CRITICAL_SECTION *cs); -void LeaveCriticalSection(CRITICAL_SECTION *cs); - ALuint timeGetTime(void); void Sleep(ALuint t); |