summaryrefslogtreecommitdiff
path: root/lib/Headers/mm_malloc.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-05-02 19:39:53 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-05-02 19:39:53 +0000
commit01af97d3b23bded2b2b21af19bbc6e4cce49e5b3 (patch)
tree64a10f4c4154739d4a8191d7e1b52ce497f4ebd6 /lib/Headers/mm_malloc.h
parentc3b054d250cdca485c71845089c316e10610ebad (diff)
Diffstat (limited to 'lib/Headers/mm_malloc.h')
-rw-r--r--lib/Headers/mm_malloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Headers/mm_malloc.h b/lib/Headers/mm_malloc.h
index e7da5434587ae..ec9236204bb93 100644
--- a/lib/Headers/mm_malloc.h
+++ b/lib/Headers/mm_malloc.h
@@ -40,6 +40,7 @@ extern "C" int posix_memalign(void **memptr, size_t alignment, size_t size);
#endif
#endif
+#if !(defined(_WIN32) && defined(_mm_malloc))
static __inline__ void *__attribute__((__always_inline__, __nodebug__,
__malloc__))
_mm_malloc(size_t size, size_t align)
@@ -67,5 +68,6 @@ _mm_free(void *p)
{
free(p);
}
+#endif
#endif /* __MM_MALLOC_H */