summaryrefslogtreecommitdiffstats
path: root/components/breakpad/browser
diff options
context:
space:
mode:
authorrmcilroy@chromium.org <rmcilroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-29 16:44:23 +0000
committerrmcilroy@chromium.org <rmcilroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-29 16:44:23 +0000
commit0d2309eaf73e7e074d4ee0cf546361114db38091 (patch)
tree7b2b2d49bfd9810c1c664375e2342d04515c04ef /components/breakpad/browser
parentb610ba805b4f6693e79dccc292bca88350a982de (diff)
downloadchromium_src-0d2309eaf73e7e074d4ee0cf546361114db38091.zip
chromium_src-0d2309eaf73e7e074d4ee0cf546361114db38091.tar.gz
chromium_src-0d2309eaf73e7e074d4ee0cf546361114db38091.tar.bz2
[Android]: Don't include linux-syscalls.h on 64-bit Android.
The sys/linux-syscalls.h header no longer exists in the 64 bit NDK and is not required for 64 bit platforms. Only include it for 32 bit architectures. BUG=354405,346626 Review URL: https://codereview.chromium.org/302773008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/breakpad/browser')
-rw-r--r--components/breakpad/browser/crash_handler_host_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/breakpad/browser/crash_handler_host_linux.cc b/components/breakpad/browser/crash_handler_host_linux.cc
index 1394ba5..94e1974 100644
--- a/components/breakpad/browser/crash_handler_host_linux.cc
+++ b/components/breakpad/browser/crash_handler_host_linux.cc
@@ -30,7 +30,7 @@
#include "components/breakpad/app/breakpad_linux_impl.h"
#include "content/public/browser/browser_thread.h"
-#if defined(OS_ANDROID)
+#if defined(OS_ANDROID) && !defined(__LP64__)
#include <sys/linux-syscalls.h>
#define SYS_read __NR_read