diff src/video/quartz/SDL_QuartzVideo.m @ 4340:0deabd35275b SDL-1.2

Use SDL's byte order check, just to be sure
author Sam Lantinga <slouken@libsdl.org>
date Fri, 16 Oct 2009 04:24:03 +0000
parents edefeb52a627
children 262d62627860
line wrap: on
line diff
--- 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;