|
From: <sv...@va...> - 2012-03-27 09:39:33
|
sewardj 2012-03-27 10:39:22 +0100 (Tue, 27 Mar 2012)
New Revision: 12464
Log:
Make this compile on Darwin.
Modified files:
trunk/memcheck/tests/test-plo.c
Modified: trunk/memcheck/tests/test-plo.c (+2 -2)
===================================================================
--- trunk/memcheck/tests/test-plo.c 2012-03-27 10:39:04 +01:00 (rev 12463)
+++ trunk/memcheck/tests/test-plo.c 2012-03-27 10:39:22 +01:00 (rev 12464)
@@ -1,4 +1,4 @@
-#include <malloc.h>
+#include "tests/malloc.h"
#include <stdio.h>
#include <assert.h>
@@ -46,7 +46,7 @@
int
main(int argc, char *argv[])
{
- char *buf = memalign(8, 5);
+ char *buf = memalign16(5);
buf[0] = 'a';
buf[1] = 'b';
buf[2] = 'c';
|