From fe089662e4e1438d5dc0b3e5f8069d1d89ed0731 Mon Sep 17 00:00:00 2001 From: "duncan%be.com" Date: Fri, 16 Jul 1999 21:39:25 +0000 Subject: [PATCH] Add an || defined (XP_BEOS) so that the builds works under BeOS with -fno-exceptions. git-svn-id: svn://10.0.0.236/trunk@39759 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/tests/TestCOMPtr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/tests/TestCOMPtr.cpp b/mozilla/xpcom/tests/TestCOMPtr.cpp index e5c513c9772..8b23f9e27a8 100644 --- a/mozilla/xpcom/tests/TestCOMPtr.cpp +++ b/mozilla/xpcom/tests/TestCOMPtr.cpp @@ -292,7 +292,7 @@ AVoidPtrPtrContext( void** ) #define TEST_EXCEPTIONS 1 // HAVE_CPP_EXCEPTIONS is defined automagically on unix -#if defined(XP_UNIX) +#if defined(XP_UNIX) || defined(XP_BEOS) #if !defined(HAVE_CPP_EXCEPTIONS) #undef TEST_EXCEPTIONS #endif