include: add ARM endianess
André Hentschel
nerv at dawncrow.de
Mon Sep 21 16:06:59 CDT 2009
little endian is the default for GNU/Linux on ARM. There are cases where it is big endian, but for now this should be enough.
---
include/basetsd.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/basetsd.h b/include/basetsd.h
index e106e24..fcfaad5 100644
--- a/include/basetsd.h
+++ b/include/basetsd.h
@@ -271,6 +271,10 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
# undef WORDS_BIGENDIAN
# undef BITFIELDS_BIGENDIAN
# undef ALLOW_UNALIGNED_ACCESS
+#elif defined(__ARM__)
+# undef WORDS_BIGENDIAN
+# undef BITFIELDS_BIGENDIAN
+# undef ALLOW_UNALIGNED_ACCESS
#elif !defined(RC_INVOKED) && !defined(__WIDL__) && !defined(__midl)
# error Unknown CPU architecture!
#endif
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list