# HG changeset patch # User Sam Lantinga # Date 1255667043 0 # Node ID 0deabd35275bf721138b1d50e0406e2cd942c79a # Parent 819270e2f893a59418c82dc031f610bd29a28351 Use SDL's byte order check, just to be sure diff -r 819270e2f893 -r 0deabd35275b src/video/quartz/SDL_QuartzVideo.m --- a/src/video/quartz/SDL_QuartzVideo.m Thu Oct 15 05:29:49 2009 +0000 +++ b/src/video/quartz/SDL_QuartzVideo.m Fri Oct 16 04:24:03 2009 +0000 @@ -885,7 +885,7 @@ } else { -#ifdef __LITTLE_ENDIAN__ +#if SDL_BYTEORDER == SDL_LITTLE_ENDIAN rmask = 0x0000FF00; gmask = 0x00FF0000; bmask = 0xFF000000;