diff --git a/include/endian.h b/include/endian.h index e0483d3e4c..76cc93c87b 100644 --- a/include/endian.h +++ b/include/endian.h @@ -45,7 +45,9 @@ */ #define LITTLE_ENDIAN 1234 +#define __LITTLE_ENDIAN 1234 #define BIG_ENDIAN 4321 +#define __BIG_ENDIAN 4321 /* Common byte swapping macros */ @@ -72,6 +74,7 @@ /* Big-endian byte order */ # define BYTE_ORDER BIG_ENDIAN +# define __BYTE_ORDER BIG_ENDIAN /* Big-endian byte order macros */ @@ -96,6 +99,7 @@ /* Little-endian byte order */ # define BYTE_ORDER LITTLE_ENDIAN +# define __BYTE_ORDER __LITTLE_ENDIAN /* Little-endian byte order macros */