malloca-instead-of-local_alloc.patch from patch #6230.
[pspp-builds.git] / src / libpspp / alloc.h
index a83db7823b37a6f46924fcc80a6325f0ce3f9d9b..b1a2a65522439fc12400ce7411581fe27b53a180 100644 (file)
 
 void *nmalloc (size_t n, size_t s);
 
-/* alloca() wrapper functions. */
-#if defined HAVE_ALLOCA || defined C_ALLOCA
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#define local_alloc(X) alloca (X)
-#define local_free(P) ((void) 0)
-#else
-#define local_alloc(X) xmalloc (X)
-#define local_free(P) free (P)
-#endif
-
 #endif /* alloc.h */