We always need to allocate aligned memory

This commit is contained in:
Frank Denis 2014-12-12 08:52:05 -08:00
parent 9b27460618
commit e7a84c9e84

View File

@ -315,7 +315,7 @@ _alloc_aligned(const size_t size)
#elif defined(_WIN32)
ptr = VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
#elif !defined(HAVE_ALIGNED_MALLOC)
ptr = malloc(size);
# error Unsupported configuration
#else
# error Bug
#endif