mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
Fix "bug #21075 : pbuf_realloc() use with PBUF_RAM and MEM_LIBC_MALLOC fails" signaled by Bill Florac
This commit is contained in:
parent
f600a868f5
commit
036d1aae50
@ -65,7 +65,7 @@ typedef u16_t mem_size_t;
|
||||
#define mem_calloc(x, y) calloc(x, y)
|
||||
#endif
|
||||
#ifndef mem_realloc
|
||||
#define mem_realloc(x, size) realloc(x,size)
|
||||
#define mem_realloc(x, size) (x)
|
||||
#endif
|
||||
#else /* MEM_LIBC_MALLOC */
|
||||
#if MEM_USE_POOLS
|
||||
|
Loading…
Reference in New Issue
Block a user