summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-11-07 21:13:22 +0000
committerRichard M. Stallman <rms@gnu.org>1996-11-07 21:13:22 +0000
commit40314d1e94fca400f52ca015aa72acfaedf16602 (patch)
treeba98dec47ab3292531a6433409f06291049aa019
parent8ad77212e633b0b84b57b734d321dcd19ed318f7 (diff)
downloademacs-40314d1e94fca400f52ca015aa72acfaedf16602.tar.gz
[emacs] (malloc, free): Define as xmalloc, and xfree.
-rw-r--r--src/regex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index 4f222a5e42e..e26641bfcd9 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -55,6 +55,9 @@
#include "buffer.h"
#include "syntax.h"
+#define malloc xmalloc
+#define free xfree
+
#else /* not emacs */
/* If we are not linking with Emacs proper,