From f57380f19b4d49f552cde1c35f6b16e68fb0b792 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 27 Aug 2014 11:21:47 +0200 Subject: [PATCH] Changed: Including malloc/malloc.h is useless --- code/nel/include/nel/misc/types_nl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/code/nel/include/nel/misc/types_nl.h b/code/nel/include/nel/misc/types_nl.h index d7068a833..f1ed871fc 100644 --- a/code/nel/include/nel/misc/types_nl.h +++ b/code/nel/include/nel/misc/types_nl.h @@ -365,7 +365,6 @@ typedef unsigned int uint; // at least 32bits (depend of processor) inline void *aligned_malloc(size_t size, size_t alignment) { return _aligned_malloc(size, alignment); } inline void aligned_free(void *ptr) { _aligned_free(ptr); } #elif defined(NL_OS_MAC) -#include // under Mac OS X, malloc is already aligned for SSE and Altivec (16 bytes alignment) inline void *aligned_malloc(size_t size, size_t alignment) { return malloc(size); } inline void aligned_free(void *ptr) { free(ptr); }