Skip to content

Commit 27622fd

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 f70cbe2 commit 27622fd

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
@@ -428,7 +428,7 @@ static __CFPortSet __CFPortSetAllocate(void) {
428428
result->used = 0;
429429
result->size = 4;
430430
result->handles = (HANDLE *)CFAllocatorAllocate(kCFAllocatorSystemDefault, result->size * sizeof(HANDLE), 0);
431-
CF_SPINLOCK_INIT_FOR_STRUCTS(result->lock);
431+
CF_LOCK_INIT_FOR_STRUCTS(result->lock);
432432
return result;
433433
}
434434

0 commit comments

Comments
 (0)