summaryrefslogtreecommitdiff
path: root/snappy-stubs-internal.h
diff options
context:
space:
mode:
authorsnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2012-07-04 09:28:33 +0000
committersnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2012-07-04 09:28:33 +0000
commit3ec60ac9878de5d0317ad38fc545080a4bfaa74f (patch)
tree7284012a8d2e92819a08c5671a0759e7a3b86390 /snappy-stubs-internal.h
parentbe80d6f74f9d82220e952a54f3f129aae1f13f95 (diff)
downloadsnappy-git-3ec60ac9878de5d0317ad38fc545080a4bfaa74f.tar.gz
Mark ARMv4 as not supporting unaligned accesses (not just ARMv5 and ARMv6);
apparently Debian still targets these by default, giving us segfaults on armel. R=sanjay git-svn-id: https://snappy.googlecode.com/svn/trunk@64 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'snappy-stubs-internal.h')
-rw-r--r--snappy-stubs-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h
index 6817c2b..12393b6 100644
--- a/snappy-stubs-internal.h
+++ b/snappy-stubs-internal.h
@@ -118,6 +118,8 @@ static const int64 kint64max = static_cast<int64>(0x7FFFFFFFFFFFFFFFLL);
// This is a mess, but there's not much we can do about it.
#elif defined(__arm__) && \
+ !defined(__ARM_ARCH_4__) && \
+ !defined(__ARM_ARCH_4T__) && \
!defined(__ARM_ARCH_5__) && \
!defined(__ARM_ARCH_5T__) && \
!defined(__ARM_ARCH_5TE__) && \