From 4adafe90e02f73c17897138fdecb42475e8b20bc Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Tue, 2 Jul 2002 22:59:34 +0000 Subject: [PATCH] Don't set CPP_THROW_NEW for non-gnu compilers until I figure out why every commercial compiler (except MSVC) dies on this. --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 46d2e6e2a830..48ac0c68ff7e 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index cd8858e11fd6..ff100acdd7ac 100644 --- a/configure.in +++ b/configure.in @@ -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()])