|
From: <sv...@va...> - 2008-09-28 12:31:55
|
Author: bart
Date: 2008-09-28 13:31:45 +0100 (Sun, 28 Sep 2008)
New Revision: 8645
Log:
Increased source code portability.
Modified:
trunk/exp-ptrcheck/tests/ccc.cpp
Modified: trunk/exp-ptrcheck/tests/ccc.cpp
===================================================================
--- trunk/exp-ptrcheck/tests/ccc.cpp 2008-09-27 13:23:41 UTC (rev 8644)
+++ trunk/exp-ptrcheck/tests/ccc.cpp 2008-09-28 12:31:45 UTC (rev 8645)
@@ -1,6 +1,11 @@
+#define _XOPEN_SOURCE 600 // to enable posix_memalign()
+
+
#include <assert.h>
#include <stdlib.h>
#include <malloc.h> // for memalign()
+
+
static __attribute__((noinline)) void bar ( int ); /* fwds */
int main(void)
{
|