Skip to content
Snippets Groups Projects
Commit c33dc0c8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Add comment for LITTLE_ENDIAN problem
parent 68fa7164
No related branches found
No related tags found
No related merge requests found
......@@ -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) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment