diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-08-15 10:48:04 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-08-15 10:48:04 -0700 |
| commit | 3fd3f35699cfdefef843f11dfa257fcf12eb4308 (patch) | |
| tree | fc3390ee5bf2a5a3d41caa9f6db06645a01768df /src/rt/arch | |
| parent | 871013b942649330392b9311ea31fcea19714b1c (diff) | |
| download | rust-3fd3f35699cfdefef843f11dfa257fcf12eb4308.tar.gz rust-3fd3f35699cfdefef843f11dfa257fcf12eb4308.zip | |
Fixing win32 build.
Diffstat (limited to 'src/rt/arch')
| -rw-r--r-- | src/rt/arch/i386/_context.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
