You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Use more compatible initializarion of RWLockPosix
This commit is contained in:
@@ -63,7 +63,8 @@ void RWLockPosix::make_default() {
|
|||||||
|
|
||||||
RWLockPosix::RWLockPosix() {
|
RWLockPosix::RWLockPosix() {
|
||||||
|
|
||||||
rwlock=PTHREAD_RWLOCK_INITIALIZER;
|
//rwlock=PTHREAD_RWLOCK_INITIALIZER; fails on OSX
|
||||||
|
pthread_rwlock_init(&rwlock,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user