Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().

This commit is contained in:
christiaans 2006-12-04 08:24:25 +00:00
parent a91374a916
commit 11f2e8d1a6

View File

@ -47,6 +47,9 @@
#include "lwip/stats.h"
#if (MEM_LIBC_MALLOC == 0)
/* lwIP replacement for your libc malloc() */
struct mem {
mem_size_t next, prev;
#if MEM_ALIGNMENT == 1
@ -407,3 +410,5 @@ mem_malloc(mem_size_t size)
}
#endif
#endif /* MEM_LIBC_MALLOC == 0 */