André Hentschel : include: Add MIPS endianess.

Alexandre Julliard julliard at winehq.org
Mon Nov 1 11:54:31 CDT 2010


Module: wine
Branch: master
Commit: a0dabd33e5f7d81d2085ce53ccfef1c2242871e6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a0dabd33e5f7d81d2085ce53ccfef1c2242871e6

Author: André Hentschel <nerv at dawncrow.de>
Date:   Fri Oct 29 16:34:38 2010 +0200

include: Add MIPS endianess.

---

 include/basetsd.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/basetsd.h b/include/basetsd.h
index aa6e86d..1259ad9 100644
--- a/include/basetsd.h
+++ b/include/basetsd.h
@@ -299,6 +299,14 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
 # undef  WORDS_BIGENDIAN
 # undef  BITFIELDS_BIGENDIAN
 # undef  ALLOW_UNALIGNED_ACCESS
+#elif defined(__MIPSEB__)
+# define WORDS_BIGENDIAN
+# define BITFIELDS_BIGENDIAN
+# undef  ALLOW_UNALIGNED_ACCESS
+#elif defined(__MIPSEL__)
+# undef  WORDS_BIGENDIAN
+# undef  BITFIELDS_BIGENDIAN
+# undef  ALLOW_UNALIGNED_ACCESS
 #elif !defined(RC_INVOKED) && !defined(__WIDL__) && !defined(__midl)
 # error Unknown CPU architecture!
 #endif




More information about the wine-cvs mailing list