diff --git a/Common/Context.h b/Common/Context.h index a03b955e11cd55c540cdce376e96daf512542bdd..632fd10272cafe8e4f2135ad59a55f5b227f6f94 100644 --- a/Common/Context.h +++ b/Common/Context.h @@ -22,7 +22,9 @@ #include "List.h" -// How RGBA values are packed and unpacked into/from a 4-byte integer +// How RGBA values are packed and unpacked into/from a 4-byte +// integer. Don't use 'LITTLE_ENDIAN': Apple defines it in its system +// headers. #if defined(_BIG_ENDIAN) # define PACK_COLOR(R,G,B,A) ( (R)<<24 | (G)<<16 | (B)<<8 | (A) )