3 --- src/util/memory.h.orig 2008-02-16 18:45:03.000000000 -0500
6 /** Delay in seconds between each alloc try. */
9 -#define fmem_alloc(x) mem_alloc(x)
10 -#define fmem_free(x) mem_free(x)
13 +#define fmem_alloc(x) safe_alloca(x)
14 +#define fmem_free(x) freea(x)
17 /** Cygwin wants some size_t definition here... let's try to make it happy
24 void *mem_mmap_alloc(size_t size);
25 void mem_mmap_free(void *p, size_t size);
26 @@ -85,24 +88,6 @@ void *mem_realloc(void *, size_t);
28 * See alloca(3) manpage. */
38 -#define fmem_alloc(x) alloca(x)
41 -#else /* HAVE_ALLOCA */
43 -#define fmem_alloc(x) mem_alloc(x)
44 -#define fmem_free(x) mem_free(x)
46 -#endif /* HAVE_ALLOCA */
48 #endif /* CONFIG_FASTMEM */
50 #endif /* DEBUG_MEMLEAK */