mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
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:
parent
cbebcfcea3
commit
4adafe90e0
2
configure
vendored
2
configure
vendored
@ -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()])
|
||||
|
Loading…
Reference in New Issue
Block a user