Refine ss_align for MinGW32

This commit is contained in:
Max Lv
2019-01-21 17:51:37 +08:00
parent d6b21daa9c
commit d7fe31eae7
+2
View File
@@ -248,6 +248,8 @@ ss_align(size_t size)
#ifdef HAVE_POSIX_MEMALIGN
/* ensure 16 byte alignment */
err = posix_memalign(&tmp, 16, size);
#elif __MINGW32__
tmp = __mingw_aligned_malloc(size, 16);
#else
err = -1;
#endif