Signed-off-by: Dirk Hörner <dirker@xxxxxxxxx> --- scripts/compiler.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/compiler.h b/scripts/compiler.h index f4b1432..53f84b6 100644 --- a/scripts/compiler.h +++ b/scripts/compiler.h @@ -45,6 +45,9 @@ # include <byteswap.h> #elif defined(__MACH__) # include <machine/endian.h> +# define __BYTE_ORDER BYTE_ORDER +# define __LITTLE_ENDIAN LITTLE_ENDIAN +# define __BIG_ENDIAN BIG_ENDIAN typedef unsigned long ulong; typedef unsigned int uint; #endif -- 1.7.10.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox