Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Unified Diff: linux_syscall_support.h

Issue 1248033002: MIPS Android: use asm/sgidefs.h instead of sgidefs.h (Closed) Base URL: https://chromium.googlesource.com/external/linux-syscall-support/lss.git@master
Patch Set: fix typo Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: linux_syscall_support.h
diff --git a/linux_syscall_support.h b/linux_syscall_support.h
index a143fc2835e641b0725225d9f1a7f690a0183368..8a42c1c8687b2af252811c28581cabfd89a3a3ae 100644
--- a/linux_syscall_support.h
+++ b/linux_syscall_support.h
@@ -118,9 +118,16 @@ extern "C" {
#ifdef __mips__
/* Include definitions of the ABI currently in use. */
+#ifdef __ANDROID__
+/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
+ * which has the definitions we need.
+ */
+#include <asm/sgidefs.h>
+#else
#include <sgidefs.h>
#endif
#endif
+#endif
/* The Android NDK's <sys/stat.h> #defines these macros as aliases
* to their non-64 counterparts. To avoid naming conflict, remove them. */
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698