summaryrefslogtreecommitdiff
path: root/rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'rwlock.c')
-rw-r--r--rwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rwlock.c b/rwlock.c
index 4e15636..cc85b7f 100644
--- a/rwlock.c
+++ b/rwlock.c
@@ -352,7 +352,7 @@ pthread_rwlock_wrlock(pthread_rwlock_t * rwlock)
rwl = *rwlock;
- if (rwl->nMagic != RWLOCK_MAGIC)
+ if (rwl->nMagic != PTW32_RWLOCK_MAGIC)
{
return EINVAL;
}