ART: Fix mac build

Follow-up to commit f45d61c0866461c9476f17644b27dc0664d507c5.

Test: m
Change-Id: Id9c397745f1d83e911ef9a375ba0da0a625239de
diff --git a/runtime/base/strlcpy.h b/runtime/base/strlcpy.h
index 3d0ec35..de135ea 100644
--- a/runtime/base/strlcpy.h
+++ b/runtime/base/strlcpy.h
@@ -26,7 +26,7 @@
 // Bionic exposes this function, but the host glibc does not. Remove this shim when we compile
 // against bionic on the host, also.
 
-#ifndef __BIONIC__
+#if !defined(__BIONIC__) && !defined(__APPLE__)
 
 static inline size_t strlcpy(char* dst, const char* src, size_t size) {
   // Extra-lazy implementation: this is only a host shim, and we don't have to call this often.