Skip to content

Commit

Permalink
lib: Attempt to fix windows build
Browse files Browse the repository at this point in the history
Docs say it's 'SRWLock', but apparently it might actually be 'SRWLOCK'
  • Loading branch information
vkoskiv committed Jun 29, 2024
1 parent 10d965d commit 9ecfcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/platform/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct cr_cond {

struct cr_rwlock {
#ifdef WINDOWS
SRWLock lock;
SRWLOCK lock;
bool exclusive;
#else
pthread_rwlock_t lock;
Expand Down

0 comments on commit 9ecfcb6

Please sign in to comment.