Fixed endian detection on IA64 architectures (thanks Bill!)
authorSam Lantinga <slouken@lokigames.com>
Thu, 10 May 2001 20:25:51 +0000
changeset 24 71bf2ad74dfa
parent 23 6d1025a73e69
child 25 3fbf86244fd2
Fixed endian detection on IA64 architectures (thanks Bill!)
docs.html
include/SDL_byteorder.h
--- a/docs.html	Thu May 10 20:20:50 2001 +0000
+++ b/docs.html	Thu May 10 20:25:51 2001 +0000
@@ -16,7 +16,8 @@
 Major changes since SDL 1.0.0:
 </H2>
 <UL>
-	<LI> 1.2.1: Added --disable-dga configure option to disable DGA entirely
+	<LI> 1.2.1: Fixed endian detection on IA64 architectures (thanks Bill!)
+	<LI> 1.2.1: Added --disable-dga configure option to disable DGA
 	<LI> 1.2.1: Fixed stuck keys when changing the video mode
 	<LI> 1.2.1: Fixed double-mouse event bug on Windows using OpenGL
 	<LI> 1.2.1: Fixed 320x200 video mode on framebuffer console
--- a/include/SDL_byteorder.h	Thu May 10 20:20:50 2001 +0000
+++ b/include/SDL_byteorder.h	Thu May 10 20:25:51 2001 +0000
@@ -39,7 +39,7 @@
    script so that application code can use this too.  The "right" way would
    be to dynamically generate this file on install, but that's a lot of work.
  */
-#if  defined(__i386__) || defined(WIN32) || \
+#if  defined(__i386__) || defined(__ia64__) || defined(WIN32) || \
     (defined(__alpha__) || defined(__alpha)) || \
      defined(__arm__) || \
     (defined(__mips__) && defined(__MIPSEL__)) || \