Mercurial > hg > xemacs-beta
changeset 3026:beef0f850624
[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.)
author | ben |
---|---|
date | Tue, 25 Oct 2005 11:19:58 +0000 |
parents | facf3239ba30 |
children | 7efd3a9bbcfb |
files | src/ChangeLog src/config.h.in |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 <ben@xemacs.org> + + * 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 <ben@xemacs.org> * EmacsFrame.c (EmacsFrameInitialize):
--- 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