mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
Merged in zerotacg/ryzomcore/issue-remove-duplicated-ignores (pull request #128)
removed duplicated ignores
This commit is contained in:
commit
a72191840d
1 changed files with 1 additions and 0 deletions
|
@ -368,6 +368,7 @@ 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_malloc(size_t size, size_t alignment) { return _aligned_malloc(size, alignment); }
|
||||||
inline void aligned_free(void *ptr) { _aligned_free(ptr); }
|
inline void aligned_free(void *ptr) { _aligned_free(ptr); }
|
||||||
#elif defined(NL_OS_MAC)
|
#elif defined(NL_OS_MAC)
|
||||||
|
#include <stdlib.h>
|
||||||
// under Mac OS X, malloc is already aligned for SSE and Altivec (16 bytes alignment)
|
// 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_malloc(size_t size, size_t alignment) { return malloc(size); }
|
||||||
inline void aligned_free(void *ptr) { free(ptr); }
|
inline void aligned_free(void *ptr) { free(ptr); }
|
||||||
|
|
Loading…
Reference in a new issue