# HG changeset patch # User Eli Zaretskii # Date 989664758 0 # Node ID a8725acacca5e691bdb28d28f4ebdcbf8e83c7e1 # Parent 58a87f412ddf0e8c760b5d85a0577484e0bfe233 (malloc, realloc, free) [emacs]: Undefine before redefining, to avoid compiler warnings. diff -r 58a87f412ddf -r a8725acacca5 src/regex.c --- 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. */