We always need to allocate aligned memory
This commit is contained in:
parent
9b27460618
commit
e7a84c9e84
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user