From 3017cc0f15d8211fdbdd124eeff7ccd34f3d3038 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 31 Jan 2021 18:34:11 +0100 Subject: [PATCH] include: Add PPC64 endianness. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Timothy Pearson Signed-off-by: André Hentschel Signed-off-by: Alexandre Julliard --- include/basetsd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/basetsd.h b/include/basetsd.h index 7087b592d1a..761af4d5214 100644 --- a/include/basetsd.h +++ b/include/basetsd.h @@ -275,6 +275,10 @@ typedef ULONG_PTR KAFFINITY, *PKAFFINITY; # undef WORDS_BIGENDIAN #elif defined(__x86_64__) # undef WORDS_BIGENDIAN +#elif defined(__powerpc64__) && defined(__BIG_ENDIAN__) +# define WORDS_BIGENDIAN +#elif defined(__powerpc64__) +# undef WORDS_BIGENDIAN #elif defined(__powerpc__) # define WORDS_BIGENDIAN #elif defined(__ALPHA__)