summaryrefslogtreecommitdiffstats
path: root/lib/Headers/mm_malloc.h
diff options
context:
space:
mode:
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 e7da543..ec92362 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 */
OpenPOWER on IntegriCloud