Re: [Qemu-devel] [RFC for-2.0] bswap: Fix build on FreeBSD 10.0

2014-04-02 Thread Ed Maste
On 2 April 2014 14:52, Richard Henderson wrote: > On 04/02/2014 07:06 AM, Andreas Färber wrote: >> FreeBSD 10.0-RELEASE has bswap16() etc. macros defined in sys/endian.h, >> which leads to a conflict with our static inline definitions. >> >> Force using the system version of the macros. >> >> Sign

Re: [Qemu-devel] [RFC for-2.0] bswap: Fix build on FreeBSD 10.0

2014-04-02 Thread Richard Henderson
On 04/02/2014 07:06 AM, Andreas Färber wrote: > FreeBSD 10.0-RELEASE has bswap16() etc. macros defined in sys/endian.h, > which leads to a conflict with our static inline definitions. > > Force using the system version of the macros. > > Signed-off-by: Andreas Färber > --- > On 9.0-RELEASE I di

[Qemu-devel] [RFC for-2.0] bswap: Fix build on FreeBSD 10.0

2014-04-02 Thread Andreas Färber
FreeBSD 10.0-RELEASE has bswap16() etc. macros defined in sys/endian.h, which leads to a conflict with our static inline definitions. Force using the system version of the macros. Signed-off-by: Andreas Färber --- On 9.0-RELEASE I did not have this issue, so unsure if some version check is nee