Use SDL's byte order check, just to be sure SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Fri, 16 Oct 2009 04:24:03 +0000
branchSDL-1.2
changeset 43400deabd35275b
parent 4339 819270e2f893
child 4341 262d62627860
Use SDL's byte order check, just to be sure
src/video/quartz/SDL_QuartzVideo.m
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.m	Thu Oct 15 05:29:49 2009 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.m	Fri Oct 16 04:24:03 2009 +0000
     1.3 @@ -885,7 +885,7 @@
     1.4  		}
     1.5  		else
     1.6  		{
     1.7 -#ifdef __LITTLE_ENDIAN__
     1.8 +#if SDL_BYTEORDER == SDL_LITTLE_ENDIAN
     1.9  			rmask = 0x0000FF00;
    1.10  			gmask = 0x00FF0000;
    1.11  			bmask = 0xFF000000;