Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 11.99.2 build failures



kre%munnari.OZ.AU@localhost (Robert Elz) writes:

>(there are some standardised <sys/foo.h> headers, but <sys/endian.h>
>is not one of them).   Tools should not be including non-standard headers.


On the other hand <endian.h> is a late addition (from 2017) and
MacOS doesn't follow the standard.

You probably need:

#if defined(__APPLE__)
#include <machine/endian.h>
#endif



Home | Main Index | Thread Index | Old Index