its G_BYTE_ORDER not G_ENDIAN.

This commit is contained in:
Dana Jansens 2003-04-27 02:31:55 +00:00
parent 04d6bf1e60
commit 02c7f2e8af

View file

@ -21,7 +21,7 @@ typedef u_int32_t pixel32;
typedef u_int16_t pixel16; typedef u_int16_t pixel16;
#endif /* HAVE_STDINT_H */ #endif /* HAVE_STDINT_H */
#if (G_ENDIAN == G_BIG_ENDIAN) #if (G_BYTE_ORDER == G_BIG_ENDIAN)
#define default_red_shift 0 #define default_red_shift 0
#define default_green_shift 8 #define default_green_shift 8
#define default_blue_shift 16 #define default_blue_shift 16
@ -31,7 +31,7 @@ typedef u_int16_t pixel16;
#define default_green_shift 8 #define default_green_shift 8
#define default_blue_shift 0 #define default_blue_shift 0
#define endian LSBFirst #define endian LSBFirst
#endif /* G_ENDIAN == G_BIG_ENDIAN */ #endif /* G_BYTE_ORDER == G_BIG_ENDIAN */
typedef struct color_rgb { typedef struct color_rgb {