* byteorder.h: Don't #define n* macros if -fnoinline is specified.
This commit is contained in:
parent
dad3363707
commit
22aa38a0a8
|
@ -1,3 +1,7 @@
|
||||||
|
2006-09-17 Danny Smith <dannysmith@clear.net.nz>
|
||||||
|
|
||||||
|
* byteorder.h: Don't #define n* macros if -fnoinline is specified.
|
||||||
|
|
||||||
2006-09-07 Christopher Faylor <cgf@timesys.com>
|
2006-09-07 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* environ.cc (build_env): Don't put an empty environment variable into
|
* environ.cc (build_env): Don't put an empty environment variable into
|
||||||
|
|
|
@ -70,7 +70,7 @@ __ntohs(uint16_t x)
|
||||||
#define __constant_htonl(x) __constant_ntohl(x)
|
#define __constant_htonl(x) __constant_ntohl(x)
|
||||||
#define __constant_htons(x) __constant_ntohs(x)
|
#define __constant_htons(x) __constant_ntohs(x)
|
||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#if defined (__OPTIMIZE__) && !defined (__NO_NOINLINE__)
|
||||||
# define ntohl(x) \
|
# define ntohl(x) \
|
||||||
(__builtin_constant_p((long)(x)) ? \
|
(__builtin_constant_p((long)(x)) ? \
|
||||||
__constant_ntohl((x)) : \
|
__constant_ntohl((x)) : \
|
||||||
|
|
Loading…
Reference in New Issue