[PATCH] util: detect byte order

2013-11-26 Thread Tomi Ollila
On Tue, Nov 26 2013, david at tethera.net wrote: > From: David Bremner > > Unfortunately old versions of GCC and clang do not provide byte order > macros, so we re-invent them. Brief comments inline :D > > If UTIL_BYTE_ORDER is not defined, we fall back to macros supported by > recent versions

[PATCH] util: detect byte order

2013-11-26 Thread da...@tethera.net
From: David Bremner Unfortunately old versions of GCC and clang do not provide byte order macros, so we re-invent them. If UTIL_BYTE_ORDER is not defined, we fall back to macros supported by recent versions of GCC and clang --- I pushed the series

[PATCH] util: detect byte order

2013-11-26 Thread david
From: David Bremner da...@tethera.net Unfortunately old versions of GCC and clang do not provide byte order macros, so we re-invent them. If UTIL_BYTE_ORDER is not defined, we fall back to macros supported by recent versions of GCC and clang --- I pushed the series

Re: [PATCH] util: detect byte order

2013-11-26 Thread Tomi Ollila
On Tue, Nov 26 2013, da...@tethera.net wrote: From: David Bremner da...@tethera.net Unfortunately old versions of GCC and clang do not provide byte order macros, so we re-invent them. Brief comments inline :D If UTIL_BYTE_ORDER is not defined, we fall back to macros supported by recent