mirror of
https://github.com/godotengine/godot.git
synced 2025-04-19 01:27:45 +08:00
Use more compatible initializarion of RWLockPosix
This commit is contained in:
parent
263d5fcff8
commit
d9ca9d778d
@ -63,7 +63,8 @@ void RWLockPosix::make_default() {
|
||||
|
||||
RWLockPosix::RWLockPosix() {
|
||||
|
||||
rwlock=PTHREAD_RWLOCK_INITIALIZER;
|
||||
//rwlock=PTHREAD_RWLOCK_INITIALIZER; fails on OSX
|
||||
pthread_rwlock_init(&rwlock,NULL);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user