Added check for AMD x86-64 ("Hammer") architecture in byte order determination.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 14 Oct 2002 05:05:04 +0000
changeset 530 d37660186e58
parent 529 21409a7a5fee
child 531 8450e66651ea
Added check for AMD x86-64 ("Hammer") architecture in byte order determination.
include/SDL_byteorder.h
--- a/include/SDL_byteorder.h	Fri Oct 11 08:45:07 2002 +0000
+++ b/include/SDL_byteorder.h	Mon Oct 14 05:05:04 2002 +0000
@@ -44,6 +44,7 @@
      defined(__arm__) || \
     (defined(__mips__) && defined(__MIPSEL__)) || \
      defined(__SYMBIAN32__) || \
+     defined(__x86_64__) || \
      defined(__LITTLE_ENDIAN__)
 #define SDL_BYTEORDER	SDL_LIL_ENDIAN
 #else