Skip to content

Commit 159ffcc

Browse files
committed
Fix silly error in our attempt at Windows support
1 parent f25369d commit 159ffcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static ExecutorRef swift_task_getCurrentExecutorImpl() {
238238
}
239239

240240
#if defined(_WIN32)
241-
static _CFThreadRef __initialPthread = INVALID_HANDLE_VALUE;
241+
static HANDLE __initialPthread = INVALID_HANDLE_VALUE;
242242
#endif
243243

244244
/// Determine whether we are currently executing on the main thread

0 commit comments

Comments
 (0)