aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoss McIlroy <rmcilroy@chromium.org>2016-07-20 11:27:11 +0100
committerRoss McIlroy <rmcilroy@chromium.org>2016-07-20 11:27:11 +0100
commitb5200a97b7e10b808665b2059f6b89edacd9919f (patch)
tree6c2fe7dd99cd4841c0a3d1b82b72084f109c0a08 /src/common
parentAdd new exception code for OOM generated from Chromium. (diff)
downloadbreakpad-b5200a97b7e10b808665b2059f6b89edacd9919f.tar.xz
Revert "Don't define |r_debug| and |link_map| on Android releases 21 and later"
This reverts commit 0fc10739232ac803f7304d01522db6051c7454ff. Reason: breaks 64bit Android architectures. BUG=629088 R=primiano@chromium.org Review URL: https://codereview.chromium.org/2163923002 .
Diffstat (limited to 'src/common')
-rw-r--r--src/common/android/include/link.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/common/android/include/link.h b/src/common/android/include/link.h
index 58180a8e..e7ff8e2d 100644
--- a/src/common/android/include/link.h
+++ b/src/common/android/include/link.h
@@ -30,18 +30,10 @@
#ifndef GOOGLE_BREAKPAD_ANDROID_INCLUDE_LINK_H
#define GOOGLE_BREAKPAD_ANDROID_INCLUDE_LINK_H
-// Android doesn't provide all the data-structures required in
-// its <link.h> before release 21. Provide custom version here and
-// rename Bionic-provided structures to avoid conflicts.
-
-#define r_debug __bionic_r_debug
-#define link_map __bionic_link_map
-
+/* Android doesn't provide all the data-structures required in its <link.h>.
+ Provide custom version here. */
#include_next <link.h>
-#undef r_debug
-#undef link_map
-
// TODO(rmcilroy): Remove this file once the ndk is updated for other
// architectures - crbug.com/358831
#if !defined(__aarch64__) && !defined(__x86_64__) && \