aboutsummaryrefslogtreecommitdiffstats
path: root/alloca.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:49:45 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:49:45 +0300
commit6607eb3d5e40b98d2acc8f6b0d6a0b5a4b0f56bd (patch)
treec1eb39be8cc5c19101385e171ec0c58f95d521cc /alloca.c
parent6719bb6e1c5576e857ab6fc121ec31a75161a3e7 (diff)
downloadegawk-6607eb3d5e40b98d2acc8f6b0d6a0b5a4b0f56bd.tar.gz
egawk-6607eb3d5e40b98d2acc8f6b0d6a0b5a4b0f56bd.tar.bz2
egawk-6607eb3d5e40b98d2acc8f6b0d6a0b5a4b0f56bd.zip
Move to gawk-3.0.3.
Diffstat (limited to 'alloca.c')
-rw-r--r--alloca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alloca.c b/alloca.c
index a14eb079..6bbd9839 100644
--- a/alloca.c
+++ b/alloca.c
@@ -70,6 +70,7 @@ typedef char *pointer;
#define NULL 0
#endif
+#ifndef malloc
/* Different portions of Emacs need to call different versions of
malloc. The Emacs executable needs alloca to call xmalloc, because
ordinary malloc isn't protected from input signals. On the other
@@ -84,6 +85,7 @@ typedef char *pointer;
#define malloc xmalloc
#endif
extern pointer malloc ();
+#endif /* malloc */
/* Define STACK_DIRECTION if you know the direction of stack
growth for your system; otherwise it will be automatically