Browse Source

Refine ss_align for MinGW32

pull/2274/head
Max Lv 6 years ago
parent
commit
d7fe31eae7
1 changed files with 2 additions and 0 deletions
  1. 2
      src/utils.c

2
src/utils.c

@ -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

Loading…
Cancel
Save