Closed GoogleCodeExporter closed 9 years ago
Correct, the check is implemented as the most convenient method and ignores
that Linux can run on both little and big endian hardware.
Original comment by fnjo...@gmail.com
on 7 Apr 2013 at 1:58
Any way to at least make compilation fail with a "put your endian-ness here"
error? It looks like #error won't do it in scons.
Original comment by kyle.a.g...@gmail.com
on 7 Apr 2013 at 7:33
I have to think about this: this question isn't about endianess it is about
BSD's really weird IP stack: It cannot be detected conveniently, it is by
platform.
Scons is detecting network byte order, the inverse of Autoconf. Thus a
reasonable change would be:
#if defined( __APPLE__ ) || defined( __NetBSD__ ) || defined( __FreeBSD__ )
return 0;
#else
fail fail fail
#endif
Original comment by fnjo...@gmail.com
on 7 Apr 2013 at 10:49
Confirmed fixed in r1508.
Original comment by fnjo...@gmail.com
on 20 Feb 2014 at 2:28
Original issue reported on code.google.com by
kyle.a.g...@gmail.com
on 7 Apr 2013 at 5:34