summaryrefslogtreecommitdiff
path: root/crc32.c
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2016-04-05 15:28:35 +0300
committerMika Lindqvist <postmaster@raasu.org>2017-03-24 23:55:59 +0200
commitd74b5dbe3dd84938c01110b8250d43dc95ae369c (patch)
tree50c72173543ba6053c763ecc3b390be32f492714 /crc32.c
parent02f5b0b9c6666573024d3b149adc64ecc785caee (diff)
Add initial support for AARCH64.
Diffstat (limited to 'crc32.c')
-rw-r--r--crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc32.c b/crc32.c
index 000a868..8ad1414 100644
--- a/crc32.c
+++ b/crc32.c
@@ -23,7 +23,7 @@
# endif
#elif defined(__linux__)
# include <endian.h>
-#elif defined(__APPLE__) || defined(__arm__)
+#elif defined(__APPLE__) || defined(__arm__) || defined(__aarch64__)
# include <machine/endian.h>
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__)
# include <sys/endian.h>