aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/include/sgidefs.h
diff options
context:
space:
mode:
authorrmcilroy@chromium.org <rmcilroy@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-04-02 23:02:31 +0000
committerrmcilroy@chromium.org <rmcilroy@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-04-02 23:02:31 +0000
commit46aba5a43a13c9f5c0e69fe624482fd8376ea72c (patch)
tree2dfaf77ca141c3ed247fef819893310e859e14f1 /src/common/android/include/sgidefs.h
parentfix races in CrashGenerator::CreateChildCrash (diff)
downloadbreakpad-46aba5a43a13c9f5c0e69fe624482fd8376ea72c.tar.xz
Remove some unecessary Android system header definitions.
Newer NDKs include some additional headers needed by Breakpad, so we can remove these redefinitions. BUG=358831,335641,354405 R=mark@chromium.org Review URL: https://breakpad.appspot.com/1374002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1300 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/android/include/sgidefs.h')
-rw-r--r--src/common/android/include/sgidefs.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/common/android/include/sgidefs.h b/src/common/android/include/sgidefs.h
index cc8ef5d0..33796dcf 100644
--- a/src/common/android/include/sgidefs.h
+++ b/src/common/android/include/sgidefs.h
@@ -32,19 +32,9 @@
#ifdef __mips__
-#define _MIPS_SIM_ABI32 1
-#define _MIPS_SIM_NABI32 2
-#define _MIPS_SIM_ABI64 3
-
-// The following should always be defined by the compiler,
-// Verified for Android with GCC 4.6 and Clang 3.1.
-#ifndef _MIPS_SIM
-#error "Toolchain should define _MIPS_SIM"
-#endif
-
-#ifndef _MIPS_SZPTR
-#error "Toolchain should define _MIPS_PTR"
-#endif
+// Android doesn't contain sgidefs.h, but does have <asm/sgidefs.h> which
+// contains what we need.
+#include <asm/sgidefs.h>
#endif // __mips__