mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 03:10:54 +00:00
Changed: Including malloc/malloc.h is useless
This commit is contained in:
parent
81d9ccb3cc
commit
9cee4d65fc
1 changed files with 0 additions and 1 deletions
|
@ -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 <malloc/malloc.h>
|
||||
// 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); }
|
||||
|
|
Loading…
Reference in a new issue