aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/rwlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/rwlock.h')
-rw-r--r--Alc/rwlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/rwlock.h b/Alc/rwlock.h
index efbab4e8..0c321a11 100644
--- a/Alc/rwlock.h
+++ b/Alc/rwlock.h
@@ -11,6 +11,7 @@ typedef struct {
volatile ALenum read_entry_lock;
volatile ALenum write_lock;
} RWLock;
+#define RWLOCK_STATIC_INITIALIZE { 0, 0, AL_FALSE, AL_FALSE, AL_FALSE }
void RWLockInit(RWLock *lock);
void ReadLock(RWLock *lock);