From: Julian Seward Date: Tue, 27 Mar 2012 09:39:22 +0000 (+0000) Subject: Make this compile on Darwin. X-Git-Tag: svn/VALGRIND_3_8_0~389 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1e6c6723c9839e8d370bf8e4f11f55c53f90b43;p=thirdparty%2Fvalgrind.git Make this compile on Darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12464 --- diff --git a/memcheck/tests/test-plo.c b/memcheck/tests/test-plo.c index 9ce667a2e3..5d4da6b9f3 100644 --- a/memcheck/tests/test-plo.c +++ b/memcheck/tests/test-plo.c @@ -1,4 +1,4 @@ -#include +#include "tests/malloc.h" #include #include @@ -46,7 +46,7 @@ __attribute__((noinline)) void foo ( int x ) int main(int argc, char *argv[]) { - char *buf = memalign(8, 5); + char *buf = memalign16(5); buf[0] = 'a'; buf[1] = 'b'; buf[2] = 'c';