aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2020-07-22 21:32:34 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2020-07-22 21:32:34 +0900
commit7bf5edc4f2f225cf5d7030ff824fd3944735bbf9 (patch)
tree5cad65cd24944f70df99a581f1c267dae618d5d6 /include
parent7423582705d6c9d71e1caf8a1f892e8995bcd63e (diff)
downloadportable-7bf5edc4f2f225cf5d7030ff824fd3944735bbf9.tar.gz
portable-7bf5edc4f2f225cf5d7030ff824fd3944735bbf9.tar.bz2
portable-7bf5edc4f2f225cf5d7030ff824fd3944735bbf9.zip
Add architecture define for s390/s390x and remove redundant sparc check
Diffstat (limited to 'include')
-rw-r--r--include/compat/machine/endian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compat/machine/endian.h b/include/compat/machine/endian.h
index 54267a8..4dcb60d 100644
--- a/include/compat/machine/endian.h
+++ b/include/compat/machine/endian.h
@@ -41,6 +41,7 @@
41#define __STRICT_ALIGNMENT 41#define __STRICT_ALIGNMENT
42#if defined(__i386) || defined(__i386__) || \ 42#if defined(__i386) || defined(__i386__) || \
43 defined(__x86_64) || defined(__x86_64__) || \ 43 defined(__x86_64) || defined(__x86_64__) || \
44 defined(__s390__) || defined(__s390x__) || \
44 defined(__aarch64__) || \ 45 defined(__aarch64__) || \
45 ((defined(__arm__) || defined(__arm)) && __ARM_ARCH >= 6) 46 ((defined(__arm__) || defined(__arm)) && __ARM_ARCH >= 6)
46#undef __STRICT_ALIGNMENT 47#undef __STRICT_ALIGNMENT