From 0e7f48d81c382e2eda14bb50e2a8f5cac42cdb15 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Wed, 28 Sep 2016 22:26:55 +0200 Subject: [PATCH] Fix compile of new functions in def.c - I accidentally put them in a #ifdef section Thanks to Daniel Elstner --- src/core/def.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/def.c b/src/core/def.c index 05785486..1f8a4b96 100644 --- a/src/core/def.c +++ b/src/core/def.c @@ -102,6 +102,8 @@ lwip_ntohl(u32_t n) return lwip_htonl(n); } +#endif /* (LWIP_PLATFORM_BYTESWAP == 0) && (BYTE_ORDER == LITTLE_ENDIAN) */ + #ifndef lwip_strnstr /** Like strstr but does not need 'buffer' to be NULL-terminated */ char* @@ -208,5 +210,3 @@ lwip_itoa(char* result, size_t bufsize, int number) } } #endif - -#endif /* (LWIP_PLATFORM_BYTESWAP == 0) && (BYTE_ORDER == LITTLE_ENDIAN) */