Merge r6109:

Various minor changes to make these compile on AIX5.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6254
This commit is contained in:
Julian Seward
2006-10-17 01:26:12 +00:00
parent 9284a14f28
commit a48daec904
16 changed files with 84 additions and 26 deletions

View File

@@ -1,8 +1,18 @@
#define _XOPEN_SOURCE 600
#define _BSD_SOURCE
#include <sched.h>
#include <stdio.h>
#if defined(_AIX)
int main(int argc, char **argv)
{
printf("this test is linux-specific\n");
return 0;
}
#else
#include <sched.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
@@ -53,3 +63,5 @@ int main(int argc, char **argv)
exit( 0 );
}
#endif /* !defined(_AIX) */