Skip to content

Commit 3fd3f35

Browse files
author
Eric Holk
committed
Fixing win32 build.
1 parent 871013b commit 3fd3f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/arch/i386/_context.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ swap_registers:
7878
.globl task_trampoline
7979
task_trampoline:
8080
// This gets set up by std::task::_spawn.
81-
#ifdef __APPLE__
81+
#if defined(__APPLE__) || defined(__WIN32__)
8282
call _task_exit
8383
#else
8484
call task_exit

0 commit comments

Comments
 (0)