Fix compile of new functions in def.c - I accidentally put them in a #ifdef section

Thanks to Daniel Elstner
This commit is contained in:
Dirk Ziegelmeier 2016-09-28 22:26:55 +02:00
parent 461b3531c7
commit 0e7f48d81c

View File

@ -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) */