From 3fd3f35699cfdefef843f11dfa257fcf12eb4308 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Mon, 15 Aug 2011 10:48:04 -0700 Subject: [PATCH] Fixing win32 build. --- src/rt/arch/i386/_context.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/arch/i386/_context.S b/src/rt/arch/i386/_context.S index 5bd06d990dc..105c35239b3 100644 --- a/src/rt/arch/i386/_context.S +++ b/src/rt/arch/i386/_context.S @@ -78,7 +78,7 @@ swap_registers: .globl task_trampoline task_trampoline: // This gets set up by std::task::_spawn. -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__WIN32__) call _task_exit #else call task_exit