pixels: Fix more endienness macros

pull/58/head
Andri Yngvason 2020-07-16 17:46:44 +00:00
parent 1bc095bd75
commit fbd8020778
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ bool fourcc_to_pixman_fmt(pixman_format_code_t* dst, uint32_t src)
X(B,G,R,,5,6,5,);
/* These are incompatible on big endian */
#if __BYTE_ORDER == __LITTLE_ENDIAN
#if __BYTE_ORDER__ == __LITTLE_ENDIAN__
X(A,R,G,B,1,5,5,5);
X(A,B,G,R,1,5,5,5);
X(X,R,G,B,1,5,5,5);