mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-16 07:09:58 +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)
|
#define mem_calloc(x, y) calloc(x, y)
|
||||||
#endif
|
#endif
|
||||||
#ifndef mem_realloc
|
#ifndef mem_realloc
|
||||||
#define mem_realloc(x, size) realloc(x,size)
|
#define mem_realloc(x, size) (x)
|
||||||
#endif
|
#endif
|
||||||
#else /* MEM_LIBC_MALLOC */
|
#else /* MEM_LIBC_MALLOC */
|
||||||
#if MEM_USE_POOLS
|
#if MEM_USE_POOLS
|
||||||
|
Loading…
Reference in New Issue
Block a user