summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-10-11 11:10:46 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-10-11 13:44:23 +0200
commit48df8bbb1fd55e363c85e968de3719c9ec5150a7 (patch)
tree2c44cd0a7f9830e5e9634af169c5c20f05da2f75 /src/fns.c
parent5724ee61313c52a17f94ebad52f2e8e7a44fe7cd (diff)
downloademacs-48df8bbb1fd55e363c85e968de3719c9ec5150a7.tar.gz
; * src/fns.c (HAVE_FAST_UNALIGNED_ACCESS): run faster on mainframes
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 5eab35a5646..40557923827 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -442,7 +442,8 @@ If string STR1 is greater, the value is a positive number N;
|| defined __i386__ || defined __i386 \
|| defined __arm64__ || defined __aarch64__ \
|| defined __powerpc__ || defined __powerpc \
- || defined __ppc__ || defined __ppc
+ || defined __ppc__ || defined __ppc \
+ || defined __s390__ || defined __s390x__
#define HAVE_FAST_UNALIGNED_ACCESS 1
#else
#define HAVE_FAST_UNALIGNED_ACCESS 0