From 0e3c6a3bb56a1a28a5cc8f2551cda0b3f5e93bfb Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 1 Oct 2016 08:27:39 +0000 Subject: [PATCH] Bug 1306828 - Unbreak build on BSDs after bug 1305360. r=jandem MozReview-Commit-ID: Ji4HfcZ9Ui --HG-- extra : transplant_source : %9A%1C%FE%3B%01om%92%16%8A%7B%20%D8%A2u.%B2%F7UG --- js/src/ds/MemoryProtectionExceptionHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/ds/MemoryProtectionExceptionHandler.cpp b/js/src/ds/MemoryProtectionExceptionHandler.cpp index 6e8cbc3a8a78..5c65523ccfee 100644 --- a/js/src/ds/MemoryProtectionExceptionHandler.cpp +++ b/js/src/ds/MemoryProtectionExceptionHandler.cpp @@ -11,7 +11,7 @@ #if defined(XP_WIN) # include "jswin.h" -#elif defined(XP_LINUX) +#elif defined(XP_UNIX) && !defined(XP_DARWIN) # include # include # include @@ -210,7 +210,7 @@ MemoryProtectionExceptionHandler::uninstall() } } -#elif defined(XP_LINUX) +#elif defined(XP_UNIX) && !defined(XP_DARWIN) static struct sigaction sPrevSEGVHandler = {};