[patch] Find if we are big endian at compile time
Joerg Sonnenberger
joerg at britannica.bec.de
Sun Apr 14 09:58:34 PDT 2013
On Sun, Apr 14, 2013 at 12:43:33PM -0400, Rafael EspĂndola wrote:
> > Only for Linux. For the BSDs it is either machine/endian.h or
> > sys/endian.h.
>
> Looks like machine/endian.h works on free, net and open. A new patch
> is attached.
sys/endian.h is the prefered public interface, but I forgot if there is
any version we should care about that doesn't have it. I'd go as far as
just using that one and see if anyone complains.
Joerg
More information about the llvm-commits
mailing list