mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 12:00:53 +00:00
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:
parent
461b3531c7
commit
0e7f48d81c
@ -102,6 +102,8 @@ lwip_ntohl(u32_t n)
|
|||||||
return lwip_htonl(n);
|
return lwip_htonl(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* (LWIP_PLATFORM_BYTESWAP == 0) && (BYTE_ORDER == LITTLE_ENDIAN) */
|
||||||
|
|
||||||
#ifndef lwip_strnstr
|
#ifndef lwip_strnstr
|
||||||
/** Like strstr but does not need 'buffer' to be NULL-terminated */
|
/** Like strstr but does not need 'buffer' to be NULL-terminated */
|
||||||
char*
|
char*
|
||||||
@ -208,5 +210,3 @@ lwip_itoa(char* result, size_t bufsize, int number)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* (LWIP_PLATFORM_BYTESWAP == 0) && (BYTE_ORDER == LITTLE_ENDIAN) */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user