From 5715469d2678a8afcaa8e678db5b8b19d56cd91c Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Sat, 24 Sep 2011 13:59:33 +0200 Subject: [PATCH] fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1 --- CHANGELOG | 3 +++ src/include/lwip/mem.h | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 559c3d29..00a0f562 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -45,6 +45,9 @@ HISTORY ++ Bugfixes: + 2011-09-24: Simon Goldschmidt + * mem.h: fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1 + 2011-09-23: Simon Goldschmidt * pbuf.h, tcp.c, tcp_in.c: fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data diff --git a/src/include/lwip/mem.h b/src/include/lwip/mem.h index 9507c0ae..5bb906b6 100644 --- a/src/include/lwip/mem.h +++ b/src/include/lwip/mem.h @@ -43,6 +43,7 @@ extern "C" { #include /* for size_t */ typedef size_t mem_size_t; +#define MEM_SIZE_F SZT_F /* aliases for C library malloc() */ #define mem_init()