Skip to content

Commit f24b6ce

Browse files
committed
RunLoop: update CF_SPINLOCK_INIT_FOR_STRUCT
Update the macro to `CF_LOCK_INIT_FOR_STRUCT`. This repairs the windows build.
1 parent 6138ceb commit f24b6ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/RunLoop.subproj/CFRunLoop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ static __CFPortSet __CFPortSetAllocate(void) {
413413
result->used = 0;
414414
result->size = 4;
415415
result->handles = (HANDLE *)CFAllocatorAllocate(kCFAllocatorSystemDefault, result->size * sizeof(HANDLE), 0);
416-
CF_SPINLOCK_INIT_FOR_STRUCTS(result->lock);
416+
CF_LOCK_INIT_FOR_STRUCTS(result->lock);
417417
return result;
418418
}
419419

0 commit comments

Comments
 (0)