Fix "bug #21075 : pbuf_realloc() use with PBUF_RAM and MEM_LIBC_MALLOC fails" signaled by Bill Florac

This commit is contained in:
fbernon 2007-09-15 06:53:16 +00:00
parent f600a868f5
commit 036d1aae50

View File

@ -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