Re: [Xen-devel] [PATCH RFC] libxl: fix build with glibc < 2.9

2015-07-22 Thread Wei Liu
On Tue, Jul 21, 2015 at 03:06:29PM +0100, Ian Campbell wrote: > On Mon, 2015-07-20 at 15:30 +0100, Jan Beulich wrote: > > htobe*() and be*toh() don't exist there. While replacing the 32-bit > > ones with hton() and ntoh() would be possible, there wouldn't be an > > obvious replacement for the 64-bi

Re: [Xen-devel] [PATCH RFC] libxl: fix build with glibc < 2.9

2015-07-21 Thread Ian Campbell
On Mon, 2015-07-20 at 15:30 +0100, Jan Beulich wrote: > htobe*() and be*toh() don't exist there. While replacing the 32-bit > ones with hton() and ntoh() would be possible, there wouldn't be an > obvious replacement for the 64-bit ones. Hence just take what current > glibc (2.21) has (assuming __bs