* byteorder.h: Correct typo.
This commit is contained in:
parent
22aa38a0a8
commit
b44ba33a1f
@ -1,3 +1,7 @@
|
||||
2006-09-17 Danny Smith <dannysmith@clear.net.nz>
|
||||
|
||||
* byteorder.h: Correct typo.
|
||||
|
||||
2006-09-17 Danny Smith <dannysmith@clear.net.nz>
|
||||
|
||||
* byteorder.h: Don't #define n* macros if -fnoinline is specified.
|
||||
|
@ -70,7 +70,7 @@ __ntohs(uint16_t x)
|
||||
#define __constant_htonl(x) __constant_ntohl(x)
|
||||
#define __constant_htons(x) __constant_ntohs(x)
|
||||
|
||||
#if defined (__OPTIMIZE__) && !defined (__NO_NOINLINE__)
|
||||
#if defined (__OPTIMIZE__) && !defined (__NO_INLINE__)
|
||||
# define ntohl(x) \
|
||||
(__builtin_constant_p((long)(x)) ? \
|
||||
__constant_ntohl((x)) : \
|
||||
|
Loading…
x
Reference in New Issue
Block a user