scripts: compiler.h: add endianness helpers for macOS
These are taken from Mathias Panzenböck's portable_endian.h[1] which he had released it into the public domain. [1]: https://gist.github.com/panzi/6856583 Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
scripts/compiler.h |
---|