Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15552 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/none/tests/amd64/avx2-1.c b/none/tests/amd64/avx2-1.c
index c9509d6..b04d05b 100644
--- a/none/tests/amd64/avx2-1.c
+++ b/none/tests/amd64/avx2-1.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
typedef unsigned char UChar;
typedef unsigned int UInt;
@@ -65,7 +65,7 @@
\
__attribute__ ((noinline)) static void test_##_name ( void ) \
{ \
- Block* b = memalign(32, sizeof(Block)); \
+ Block* b = memalign32(sizeof(Block)); \
randBlock(b); \
printf("%s(reg)\n", #_name); \
showBlock("before", b); \