include/SDL_byteorder.h
changeset 1 cf2af46e9e2a
parent 0 74212992fb08
child 24 71bf2ad74dfa
--- a/include/SDL_byteorder.h	Thu Apr 26 16:45:43 2001 +0000
+++ b/include/SDL_byteorder.h	Thu Apr 26 16:50:19 2001 +0000
@@ -42,7 +42,8 @@
 #if  defined(__i386__) || defined(WIN32) || \
     (defined(__alpha__) || defined(__alpha)) || \
      defined(__arm__) || \
-    (defined(__mips__) && defined(__MIPSEL__))
+    (defined(__mips__) && defined(__MIPSEL__)) || \
+     defined(__LITTLE_ENDIAN__)
 #define SDL_BYTEORDER	SDL_LIL_ENDIAN
 #else
 #define SDL_BYTEORDER	SDL_BIG_ENDIAN