Don't set CPP_THROW_NEW for non-gnu compilers until I figure out why every commercial compiler (except MSVC) dies on this.

This commit is contained in:
seawood%netscape.com 2002-07-02 22:59:34 +00:00
parent cbebcfcea3
commit 4adafe90e0
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -12506,7 +12506,7 @@ _MOZ_CPP_EXCEPTIONS=1
fi
if test "$_MOZ_CPP_EXCEPTIONS"; then
if test "$_MOZ_CPP_EXCEPTIONS" -o -z "$GNU_CC"; then
cat >> confdefs.h <<\EOF
#define CPP_THROW_NEW
EOF

View File

@ -4032,7 +4032,7 @@ else
fi
_MOZ_CPP_EXCEPTIONS=1 ])
if test "$_MOZ_CPP_EXCEPTIONS"; then
if test "$_MOZ_CPP_EXCEPTIONS" -o -z "$GNU_CC"; then
AC_DEFINE(CPP_THROW_NEW, [])
else
AC_DEFINE(CPP_THROW_NEW, [throw()])