]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Increased source code portability.
authorBart Van Assche <bvanassche@acm.org>
Sun, 28 Sep 2008 12:31:45 +0000 (12:31 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 28 Sep 2008 12:31:45 +0000 (12:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8645

exp-ptrcheck/tests/ccc.cpp

index e14f95690c840d362ba28a8eac99199dc07f362e..03c9a007361e3c3c9820335889e4084c906e2971 100644 (file)
@@ -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)
 {