Cairo GAL: fix endianness check.

This commit is contained in:
Alex Shvartzkop 2024-02-28 04:10:58 +03:00
parent d359fb8ab9
commit c4a7af8a47
1 changed files with 1 additions and 1 deletions

View File

@ -1425,7 +1425,7 @@ void CAIRO_GAL::EndDrawing()
{
const unsigned char* src = srcRow + x;
#if defined( __BYTE_ORDER__ ) && ( __BYTE_ORDER == __BIG_ENDIAN )
#if defined( __BYTE_ORDER__ ) && ( __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ )
// XRGB
dst[0] = src[1];
dst[1] = src[2];