Added ARM and SH4 detection for WinCE development environment
authorSam Lantinga <slouken@libsdl.org>
Mon, 06 Mar 2006 01:34:36 +0000
changeset 1469 bf867c1e57e3
parent 1468 fecfef92fc94
child 1470 d47d96962fcc
Added ARM and SH4 detection for WinCE development environment
include/SDL_endian.h
--- a/include/SDL_endian.h	Mon Mar 06 01:05:11 2006 +0000
+++ b/include/SDL_endian.h	Mon Mar 06 01:34:36 2006 +0000
@@ -36,8 +36,8 @@
      defined(_M_IX86) || \
      defined(__ia64__) || defined(__x86_64__) || \
     (defined(__alpha__) || defined(__alpha)) || \
-    (defined(__arm__) || defined(__thumb__)) || \
-    (defined(__sh__) || defined(__sh64__)) || \
+    (defined(__arm__) || defined(__thumb__) || defined(_ARM_)) || \
+    (defined(__sh__) || defined(__sh64__) || defined(_SH4_)) || \
     (defined(__mips__) && defined(__MIPSEL__)) || \
      defined(__SYMBIAN32__) || defined(__OS2__)
 #define SDL_BYTEORDER	SDL_LIL_ENDIAN