summaryrefslogtreecommitdiffstats
path: root/config-compat-darwin.h
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2012-02-25 23:36:32 -0800
committerKoushik Dutta <koushd@gmail.com>2012-02-25 23:36:32 -0800
commit20968ff8929be0fa67a7cb873827e72ccab23716 (patch)
tree8644bde0b636fe86caae96db7d9935bf27c8d715 /config-compat-darwin.h
parent84cf4183ba6f577ee01abe7f1f5a6d4b23df35a8 (diff)
downloadandroid_external_elfutils-gingerbread.tar.gz
android_external_elfutils-gingerbread.tar.bz2
android_external_elfutils-gingerbread.zip
Change-Id: Ie96d19f53b79498a7003b3d845219790b922ec8d
Diffstat (limited to 'config-compat-darwin.h')
-rw-r--r--config-compat-darwin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config-compat-darwin.h b/config-compat-darwin.h
index 7953bb6a..29db51ef 100644
--- a/config-compat-darwin.h
+++ b/config-compat-darwin.h
@@ -38,6 +38,7 @@ static inline char *dcgettext (char *__domainname, char *__msgid, int __category
return NULL;
}
+#ifndef __APPLE_LION__
static inline size_t strnlen (const char *__string, size_t __maxlen)
{
int len = 0;
@@ -45,6 +46,7 @@ static inline size_t strnlen (const char *__string, size_t __maxlen)
len++;
return len;
}
+#endif
static inline void *mempcpy (void * __dest, const void * __src, size_t __n)
{