Skip to content

Commit

Permalink
Check _M_X64 (Visual Studio, Windows/x86-64) in littleendian test.
Browse files Browse the repository at this point in the history
Thanks to Norfanin for the tip!
  • Loading branch information
icculus committed Oct 5, 2011
1 parent 9d1ef08 commit 6d4d914
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/physfs_internal.h
Expand Up @@ -876,7 +876,8 @@ char *__PHYSFS_convertToDependent(const char *prepend,
#define PHYSFS_LIL_ENDIAN 1234
#define PHYSFS_BIG_ENDIAN 4321

#if defined(__i386__) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || \
#if defined(__i386__) || defined(__ia64__) || \
defined(_M_IX86) || defined(_M_IA64) || defined(_M_X64) \
(defined(__alpha__) || defined(__alpha)) || \
defined(__arm__) || defined(ARM) || \
(defined(__mips__) && defined(__MIPSEL__)) || \
Expand Down

0 comments on commit 6d4d914

Please sign in to comment.