changeset 1469:bf867c1e57e3

Added ARM and SH4 detection for WinCE development environment
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 01:34:36 +0000
parents fecfef92fc94
children d47d96962fcc
files include/SDL_endian.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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