aboutsummaryrefslogtreecommitdiffstats
path: root/include/rwlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rwlock.h')
-rw-r--r--include/rwlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rwlock.h b/include/rwlock.h
index 03482515..f2a8feab 100644
--- a/include/rwlock.h
+++ b/include/rwlock.h
@@ -15,7 +15,7 @@ typedef struct {
volatile int read_entry_lock;
volatile int write_lock;
} RWLock;
-#define RWLOCK_STATIC_INITIALIZE { STATIC_REFCOUNT_INIT(0), STATIC_REFCOUNT_INIT(0), false, false, false }
+#define RWLOCK_STATIC_INITIALIZE { ATOMIC_INIT_STATIC(0), ATOMIC_INIT_STATIC(0), false, false, false }
void RWLockInit(RWLock *lock);
void ReadLock(RWLock *lock);