]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make it compile on AIX, even if the result doesn't do anything useful.
authorJulian Seward <jseward@acm.org>
Wed, 28 Nov 2007 01:27:03 +0000 (01:27 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 28 Nov 2007 01:27:03 +0000 (01:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7245

exp-drd/tests/sigalrm.c

index 76b094bc5c59783f7f63f47ec18641332dbb807f..e1d0a6838a3aba6f20b22a9faf683cb8ddacb281 100644 (file)
@@ -1,3 +1,4 @@
+#if !defined(_AIX)
 #include <assert.h>
 #include <errno.h>
 #include <pthread.h>
@@ -10,7 +11,6 @@
 #include <asm/unistd.h>
 #include "../drd_clientreq.h"
 
-
 static int s_debug = 0;
 
 
@@ -90,3 +90,11 @@ int main(int argc, char** argv)
 
   return 0;
 }
+
+#else /* !defined(_AIX) */
+#include <stdio.h>
+int main ( void ) {
+  fprintf(stderr, "This test does not compile on AIX5.\n");
+  return 0;
+}
+#endif /* !defined(_AIX) */