diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-04-03 17:12:10 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-03 17:12:10 -0700 |
| commit | ab2158f070c49249b4df0fd7d5063deb27425fc3 (patch) | |
| tree | 34d52fefcc1084accc88afd7c0ff1c5aea3dd410 /src/rt/rust_uv.cpp | |
| parent | f4b293f0e379291d2c2e9c56713862d5546a9e3a (diff) | |
| download | rust-ab2158f070c49249b4df0fd7d5063deb27425fc3.tar.gz rust-ab2158f070c49249b4df0fd7d5063deb27425fc3.zip | |
rt: alloca is spelled differently on win32
Diffstat (limited to 'src/rt/rust_uv.cpp')
| -rw-r--r-- | src/rt/rust_uv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp index e3c29ae974a..6a7859509d0 100644 --- a/src/rt/rust_uv.cpp +++ b/src/rt/rust_uv.cpp @@ -98,7 +98,11 @@ rust_uv_loop_delete(uv_loop_t* loop) { // from a malloc with no backtrace. // // This pads our stack with some extra space before deleting the loop +#ifndef __WIN32__ alloca(512); +#else + _alloca(512); +#endif uv_loop_delete(loop); } |
