aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Callanan <spyffe@google.com>2019-11-05 14:08:06 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-11-05 14:08:06 -0800
commit0f0a929337d327faea386440b9934df833d55e9f (patch)
treeb70dabdd050cf86bf2514482e379850908dfa018
parent09959eb9ba93c758479aa188c29e3b8193078be3 (diff)
parent2ec9661539ff908669949dc4fb4c6764b5be3b13 (diff)
downloadkmod-0f0a929337d327faea386440b9934df833d55e9f.tar.gz
kmod: update missing.h to work on Apple am: a322503d3a
am: 2ec9661539 Change-Id: I1d2185f4d345870df8c134d999a6eb2050fc4f7a
-rw-r--r--shared/missing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/missing.h b/shared/missing.h
index 4c0d136..72aaa95 100644
--- a/shared/missing.h
+++ b/shared/missing.h
@@ -33,7 +33,7 @@ static inline int finit_module(int fd, const char *uargs, int flags)
}
#endif
-#if !HAVE_DECL_STRNDUPA
+#if (!HAVE_DECL_STRNDUPA && !defined(__APPLE__))
#define strndupa(s, n) \
({ \
const char *__old = (s); \