Make the NTOHL, NTOHS, HTONL and HTONS macros (which are nops on
sparc64) empty to avoid compiler warnings.
This commit is contained in:
parent
5f19cf9309
commit
c2f5c600c1
@ -71,10 +71,10 @@ __END_DECLS
|
||||
#define htonl(x) (x)
|
||||
#define htons(x) (x)
|
||||
|
||||
#define NTOHL(x) (x)
|
||||
#define NTOHS(x) (x)
|
||||
#define HTONL(x) (x)
|
||||
#define HTONS(x) (x)
|
||||
#define NTOHL(x)
|
||||
#define NTOHS(x)
|
||||
#define HTONL(x)
|
||||
#define HTONS(x)
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user