mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #15107 from DDC-NDRS/ndrs-pst
LWIP: Provide inline replacements for htons() and htonl()pull/15120/head
commit
4851f6c0b9
|
@ -124,6 +124,10 @@ void trace_to_ascii_hex_dump(char* prefix, int len, char *data);
|
|||
#define LWIP_PLATFORM_HTONS(x) __REV16(x)
|
||||
#define LWIP_PLATFORM_HTONL(x) __REV(x)
|
||||
|
||||
// Provide inline replacements for htons() and htonl()
|
||||
#define lwip_htons(x) __REV16(x)
|
||||
#define lwip_htonl(x) __REV(x)
|
||||
|
||||
/* Define the memory area for the lwip's memory pools */
|
||||
#ifndef MEMP_SECTION
|
||||
#if defined(TARGET_LPC1768)
|
||||
|
|
Loading…
Reference in New Issue