Get Microsoft's preprocessor symbols in there
authorSam Lantinga <slouken@libsdl.org>
Mon, 06 Mar 2006 16:37:18 +0000
changeset 1475 d45aefcac017
parent 1474 351d757c7edd
child 1476 14937d7b7527
Get Microsoft's preprocessor symbols in there
include/SDL_endian.h
--- a/include/SDL_endian.h	Mon Mar 06 16:33:23 2006 +0000
+++ b/include/SDL_endian.h	Mon Mar 06 16:37:18 2006 +0000
@@ -33,9 +33,9 @@
 
 #ifndef SDL_BYTEORDER	/* Not defined in SDL_config.h? */
 #if defined(__hppa__) || \
-    defined(__m68k__) || defined(mc68000) || \
+    defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
     (defined(__MIPS__) && defined(__MISPEB__)) || \
-    defined(__ppc__) || defined(__POWERPC__) || \
+    defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
     defined(__sparc__)
 #define SDL_BYTEORDER	SDL_BIG_ENDIAN
 #else