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:
Родитель
f89e345974
Коммит
8e37611717
|
@ -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
|
||||
|
|
|
@ -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()])
|
||||
|
|
Загрузка…
Ссылка в новой задаче