bug 304982 define CPP_THROW_NEW to throw() even when exceptions are enabled

r=bsmedberg sr=dbaron
This commit is contained in:
cbiesinger%web.de 2005-08-18 12:34:14 +00:00
parent cb16b20c58
commit 9a80dc014e

View File

@ -5995,7 +5995,7 @@ fi
# Irix & OSF native compilers do not like exception declarations
# when exceptions are disabled
if test "$_MOZ_CPP_EXCEPTIONS" -o -n "$MIPSPRO_CXX" -o -n "$COMPAQ_CXX" -o -n "$VACPP"; then
if test -n "$MIPSPRO_CXX" -o -n "$COMPAQ_CXX" -o -n "$VACPP"; then
AC_DEFINE(CPP_THROW_NEW, [])
else
AC_DEFINE(CPP_THROW_NEW, [throw()])