Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user