André Hentschel : include: Better distinguish ARM' s endianess.

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


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

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

include: Better distinguish ARM's endianess.

---

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

diff --git a/include/basetsd.h b/include/basetsd.h
index 6ce0102..aa6e86d 100644
--- a/include/basetsd.h
+++ b/include/basetsd.h
@@ -291,7 +291,11 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
 # undef  WORDS_BIGENDIAN
 # undef  BITFIELDS_BIGENDIAN
 # undef  ALLOW_UNALIGNED_ACCESS
-#elif defined(__arm__)
+#elif defined(__ARMEB__)
+# define WORDS_BIGENDIAN
+# define BITFIELDS_BIGENDIAN
+# undef  ALLOW_UNALIGNED_ACCESS
+#elif defined(__ARMEL__)
 # undef  WORDS_BIGENDIAN
 # undef  BITFIELDS_BIGENDIAN
 # undef  ALLOW_UNALIGNED_ACCESS




More information about the wine-cvs mailing list