Try slightly different arch macros.

This commit is contained in:
Bojan Smojver 2020-08-31 21:20:36 +10:00
parent aad790d02d
commit 7a6ace4d32

View File

@ -7,7 +7,7 @@ diff -ruN xrdp-0.9.14-v/common/arch.h xrdp-0.9.14/common/arch.h
(defined(__PPC__) && defined(__BIG_ENDIAN__)) || \
- (defined(__ppc__) && defined(__BIG_ENDIAN__))
+ (defined(__ppc__) && defined(__BIG_ENDIAN__)) || \
+ defined(__ppc64le__) || defined(__s390x__)
+ defined(__ppc64__) || defined(__s390__)
#define NEED_ALIGN
#elif defined(__x86__) || defined(__x86_64__) || \
defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \