summaryrefslogtreecommitdiff
path: root/memory/build/mozmemory_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/build/mozmemory_wrap.c')
-rw-r--r--memory/build/mozmemory_wrap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/memory/build/mozmemory_wrap.c b/memory/build/mozmemory_wrap.c
index fdb8447d33..409b39da23 100644
--- a/memory/build/mozmemory_wrap.c
+++ b/memory/build/mozmemory_wrap.c
@@ -68,7 +68,6 @@ mozmem_malloc_impl(_ZdaPvRKSt9nothrow_t)(void *ptr)
#undef strndup
#undef strdup
-#ifndef XP_DARWIN
MOZ_MEMORY_API char *
strndup_impl(const char *src, size_t len)
{
@@ -86,7 +85,6 @@ strdup_impl(const char *src)
size_t len = strlen(src);
return strndup_impl(src, len);
}
-#endif /* XP_DARWIN */
#ifdef XP_WIN
/*