From: Dana Jansens Date: Sun, 27 Apr 2003 02:31:55 +0000 (+0000) Subject: its G_BYTE_ORDER not G_ENDIAN. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=02c7f2e8afbfe5ebc589415a87a2ac156c9ef5af;p=chaz%2Fopenbox its G_BYTE_ORDER not G_ENDIAN. --- diff --git a/render/color.h b/render/color.h index 3114f4c7..430fba46 100644 --- a/render/color.h +++ b/render/color.h @@ -21,7 +21,7 @@ typedef u_int32_t pixel32; typedef u_int16_t pixel16; #endif /* HAVE_STDINT_H */ -#if (G_ENDIAN == G_BIG_ENDIAN) +#if (G_BYTE_ORDER == G_BIG_ENDIAN) #define default_red_shift 0 #define default_green_shift 8 #define default_blue_shift 16 @@ -31,7 +31,7 @@ typedef u_int16_t pixel16; #define default_green_shift 8 #define default_blue_shift 0 #define endian LSBFirst -#endif /* G_ENDIAN == G_BIG_ENDIAN */ +#endif /* G_BYTE_ORDER == G_BIG_ENDIAN */ typedef struct color_rgb {