From f9b3d98f8341bcde2542141d7fe44cedd69437a6 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sat, 18 Jul 2020 09:23:42 +0000 Subject: [PATCH] pixels: Fix endian macros, take 3 --- src/pixels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixels.c b/src/pixels.c index 687b756..65b2a51 100644 --- a/src/pixels.c +++ b/src/pixels.c @@ -95,7 +95,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__ == __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);