Mercurial > hg > xemacs-beta
changeset 544:ffd4d00ff0b6
[xemacs-hg @ 2001-05-17 13:55:46 by stephent]
define DECLARE_NOTHING
author | stephent |
---|---|
date | Thu, 17 May 2001 13:55:47 +0000 |
parents | 7e84f0c36c66 |
children | 9a775fb11bb7 |
files | src/ChangeLog src/regex.c |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu May 17 13:44:34 2001 +0000 +++ b/src/ChangeLog Thu May 17 13:55:47 2001 +0000 @@ -1,3 +1,7 @@ +2001-05-17 Stephen J. Turnbull <stephen@xemacs.org> + + * regex.c (DECLARE_NOTHING): Define if !emacs && REGEX_MALLOC. + 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org> * lisp.h (EMACS_INT_MAX): This should be one bit less since
--- a/src/regex.c Thu May 17 13:44:34 2001 +0000 +++ b/src/regex.c Thu May 17 13:55:47 2001 +0000 @@ -124,6 +124,13 @@ even if config.h says that we can. */ #undef REL_ALLOC +/* defined in lisp.h */ +#ifdef REGEX_MALLOC +#ifndef DECLARE_NOTHING +#define DECLARE_NOTHING struct nosuchstruct +#endif +#endif + #if defined (STDC_HEADERS) || defined (_LIBC) #include <stdlib.h> #else