This commit is contained in:
Max Lv
2018-11-13 21:31:34 +08:00
parent 92f8d4e989
commit 569570cfa9
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -246,6 +246,7 @@ ss_align(size_t size)
int err;
void *tmp = NULL;
#ifdef HAVE_POSIX_MEMALIGN
/* ensure 16 byte alignment */
err = posix_memalign(&tmp, sizeof(void *), size);
#else
err = -1;