scripts: compiler.h: support BSDs as well
The BSDs have their endianness changing functions in <sys/endian.h> and
define both _BYTE_ORDER as well as BYTE_ORDER (if strict POSIX conformance
isn't requested). Extend the header to compile, so it supports these
platforms as well.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 536e8ef commit 70e4e1e4f54ff8e4040b137a2b4d0f48baa74e0c
@Ahmad Fatoum Ahmad Fatoum authored on 27 May 2019
Sascha Hauer committed on 28 May 2019
Showing 1 changed file
View
scripts/compiler.h