diff options
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2012-07-04 09:28:33 +0000 |
---|---|---|
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2012-07-04 09:28:33 +0000 |
commit | aac34b411d797443284fbf0da52bb655c2935a46 (patch) | |
tree | 7284012a8d2e92819a08c5671a0759e7a3b86390 /snappy-stubs-internal.h | |
parent | 450d5388e3003ffd8599a34ec7cc854b81937582 (diff) | |
download | snappy-aac34b411d797443284fbf0da52bb655c2935a46.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: http://snappy.googlecode.com/svn/trunk@64 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'snappy-stubs-internal.h')
-rw-r--r-- | snappy-stubs-internal.h | 2 |
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__) && \ |