Windows byteorder test merged from 2.1 branch. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Fri, 21 Jan 2011 03:11:48 -0500
branchstable-2.0
changeset 1137 33fbe9f537e2
parent 1132 ff6943f29c3e
child 1141 2ad0dd5a701f
Windows byteorder test merged from 2.1 branch.
physfs_internal.h
--- a/physfs_internal.h	Thu Dec 30 19:45:47 2010 -0500
+++ b/physfs_internal.h	Fri Jan 21 03:11:48 2011 -0500
@@ -970,7 +970,7 @@
 #define PHYSFS_LIL_ENDIAN  1234
 #define PHYSFS_BIG_ENDIAN  4321
 
-#if  defined(__i386__) || defined(__ia64__) || defined(WIN32) || \
+#if  defined(__i386__) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || \
     (defined(__alpha__) || defined(__alpha)) || \
      defined(__arm__) || defined(ARM) || \
     (defined(__mips__) && defined(__MIPSEL__)) || \