diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-12-17 13:49:02 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-17 14:10:40 -0800 |
| commit | 7da8ab8fab81781665fd38299645dc74a6d5ddd2 (patch) | |
| tree | 931e070a433f8a70b2a137111d9603750c8e2bf2 /src/rt/rust_upcall.cpp | |
| parent | 4ac345939c6b9cfbb463dffa3ff595f42d93beac (diff) | |
| download | rust-7da8ab8fab81781665fd38299645dc74a6d5ddd2.tar.gz rust-7da8ab8fab81781665fd38299645dc74a6d5ddd2.zip | |
rt: Turn on stack alignment checks for mac
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index ec1e37bd85f..7b5dbd38bdd 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -19,8 +19,8 @@ // correctly. Strategically placed at entry to upcalls because they begin on // the rust stack and happen frequently enough to catch most stack changes, // including at the beginning of all landing pads. -// FIXME: Only seems to work on linux -#ifdef __linux__ +// FIXME: Enable this for windows +#if defined __linux__ || defined __APPLE__ extern "C" void check_stack_alignment() __attribute__ ((aligned (16))); #else |
