More Windows tests in the byteorder detection code.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 21 Jan 2011 03:07:14 -0500
changeset 1136 888695d89f70
parent 1135 3b71a0c08665
child 1138 e57e3936d071
More Windows tests in the byteorder detection code.
src/physfs_internal.h
--- a/src/physfs_internal.h	Fri Jan 21 02:50:20 2011 -0500
+++ b/src/physfs_internal.h	Fri Jan 21 03:07:14 2011 -0500
@@ -876,7 +876,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__)) || \