summaryrefslogtreecommitdiff
path: root/upb/table.c
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-03-14 09:53:29 -0700
committerGitHub <noreply@github.com>2019-03-14 09:53:29 -0700
commit9cd426495e9ce11e8896a576601fab97052276c4 (patch)
tree21ceb38f639c8e96fd11d180b5985b478a263072 /upb/table.c
parented9faae0993704b033c594b072d65e1bf19207fa (diff)
parent17db3722678f2ea11edbe2aeb34efdbce030c07f (diff)
Merge pull request #151 from linux-on-ibm-z/master
Adding support for big endian platform (s390x)
Diffstat (limited to 'upb/table.c')
-rw-r--r--upb/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/table.c b/upb/table.c
index 10d8322..128f607 100644
--- a/upb/table.c
+++ b/upb/table.c
@@ -730,7 +730,7 @@ bool upb_inttable_iter_isequal(const upb_inttable_iter *i1,
i1->array_part == i2->array_part;
}
-#ifdef UPB_UNALIGNED_READS_OK
+#if defined(UPB_UNALIGNED_READS_OK) || defined(__s390x__)
/* -----------------------------------------------------------------------------
* MurmurHash2, by Austin Appleby (released as public domain).
* Reformatted and C99-ified by Joshua Haberman.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback