Mercurial > emacs
diff src/regex.c @ 37705:a8725acacca5
(malloc, realloc, free) [emacs]: Undefine before
redefining, to avoid compiler warnings.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Sat, 12 May 2001 10:52:38 +0000 |
| parents | 6bd789b0ccc3 |
| children | 287021d71c8a |
line wrap: on
line diff
--- a/src/regex.c Sat May 12 10:51:09 2001 +0000 +++ b/src/regex.c Sat May 12 10:52:38 2001 +0000 @@ -124,8 +124,17 @@ # include "charset.h" # include "category.h" +# ifdef malloc +# undef malloc +# endif # define malloc xmalloc +# ifdef realloc +# undef realloc +# endif # define realloc xrealloc +# ifdef free +# undef free +# endif # define free xfree /* Converts the pointer to the char to BEG-based offset from the start. */
