mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().
This commit is contained in:
parent
a91374a916
commit
11f2e8d1a6
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user