summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-05-10 16:59:29 +0100
committerRobin Watts <robin.watts@artifex.com>2016-05-10 17:00:22 +0100
commit1a6b5b8bd03defa41c559a53d446b262be3ba8e8 (patch)
tree57fc500863e4cc92c00ee7a46868dedcbe659943
parentecda9f94608188e414f6742ce7f0509b0bd893b5 (diff)
downloadmupdf-1a6b5b8bd03defa41c559a53d446b262be3ba8e8.tar.xz
Enable ARCH_ARM on ARM platforms.
-rw-r--r--include/mupdf/fitz/system.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
index 6865c031..cbc10285 100644
--- a/include/mupdf/fitz/system.h
+++ b/include/mupdf/fitz/system.h
@@ -43,6 +43,16 @@
#endif
/*
+ Spot architectures where we have optimisations.
+*/
+
+#if defined(__arm__) || defined(__thumb__)
+#ifndef ARCH_ARM
+#define ARCH_ARM
+#endif
+#endif
+
+/*
Some differences in libc can be smoothed over
*/