aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/base.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-16 01:39:11 -0700
committerChris Robinson <[email protected]>2014-04-16 01:39:11 -0700
commit29cb5058c0b05cca8ebeb40d84aba8a8d2e11075 (patch)
tree749d963f365901b22eabd8eaf164f38f2efb8789 /Alc/backends/base.h
parent9c70ca9da6479595946def59cd616e6823c86d78 (diff)
Use a C11-like mutex wrapper instead of CRITICAL_SECTIONs
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r--Alc/backends/base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h
index de5809ca..905c3ea4 100644
--- a/Alc/backends/base.h
+++ b/Alc/backends/base.h
@@ -2,7 +2,7 @@
#define AL_BACKENDS_BASE_H
#include "alMain.h"
-#include "compat.h"
+#include "threads.h"
struct ALCbackendVtable;
@@ -12,7 +12,7 @@ typedef struct ALCbackend {
ALCdevice *mDevice;
- CRITICAL_SECTION mMutex;
+ almtx_t mMutex;
} ALCbackend;
void ALCbackend_Construct(ALCbackend *self, ALCdevice *device);