Check _M_X64 (Visual Studio, Windows/x86-64) in littleendian test. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Wed, 05 Oct 2011 03:58:52 -0400
branchstable-2.0
changeset 11875fe3b5f3ed87
parent 1183 9d2ec90ca841
child 1189 ad9222d6dcd5
Check _M_X64 (Visual Studio, Windows/x86-64) in littleendian test.

Thanks to Norfanin for the tip!
(transplanted from 43aea6bc12d72c5749741637b43095fc64abe1ae)
physfs_internal.h
     1.1 --- a/physfs_internal.h	Sat Sep 24 00:55:15 2011 -0700
     1.2 +++ b/physfs_internal.h	Wed Oct 05 03:58:52 2011 -0400
     1.3 @@ -970,7 +970,8 @@
     1.4  #define PHYSFS_LIL_ENDIAN  1234
     1.5  #define PHYSFS_BIG_ENDIAN  4321
     1.6  
     1.7 -#if  defined(__i386__) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || \
     1.8 +#if  defined(__i386__) || defined(__ia64__) || \
     1.9 +     defined(_M_IX86) || defined(_M_IA64) || defined(_M_X64) \
    1.10      (defined(__alpha__) || defined(__alpha)) || \
    1.11       defined(__arm__) || defined(ARM) || \
    1.12      (defined(__mips__) && defined(__MIPSEL__)) || \