mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 06:11:37 +00:00
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:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user