# HG changeset patch # User ben # Date 1130239198 0 # Node ID beef0f850624fad4f861bf66e65c58ffa8605fdc # Parent facf3239ba30e8d4eb00c51ddddbd9dd9b8aeb7a [xemacs-hg @ 2005-10-25 11:19:56 by ben] remove kludging of new and catch from config.h.in config.h.in: Don't define new and catch under C++ any more. (Places using new were just fixed by the last patch, places using catch were fixed a couple of weeks ago.) diff -r facf3239ba30 -r beef0f850624 src/ChangeLog --- a/src/ChangeLog Tue Oct 25 11:16:49 2005 +0000 +++ b/src/ChangeLog Tue Oct 25 11:19:58 2005 +0000 @@ -1,3 +1,10 @@ +2005-10-25 Ben Wing + + * config.h.in (EXTERN_C): + Don't define new and catch under C++ any more. + (Places using new were just fixed by the last patch, places using + catch were fixed a couple of weeks ago.) + 2005-10-25 Ben Wing * EmacsFrame.c (EmacsFrameInitialize): diff -r facf3239ba30 -r beef0f850624 src/config.h.in --- a/src/config.h.in Tue Oct 25 11:16:49 2005 +0000 +++ b/src/config.h.in Tue Oct 25 11:19:58 2005 +0000 @@ -1059,10 +1059,6 @@ #ifndef NOT_C_CODE /* Actually means C or C++ */ # if defined (__cplusplus) -/* Avoid C++ keywords used as ordinary C identifiers */ -# define new c_new -# define catch c_catch - # define EXTERN_C extern "C" # else /* C code */ # define EXTERN_C extern