Author: sewardj
Date: 2007-11-28 01:27:03 +0000 (Wed, 28 Nov 2007)
New Revision: 7245

Log:
Make it compile on AIX, even if the result doesn't do anything useful.

Modified:
   trunk/exp-drd/tests/sigalrm.c


Modified: trunk/exp-drd/tests/sigalrm.c
===================================================================
--- trunk/exp-drd/tests/sigalrm.c       2007-11-27 23:39:13 UTC (rev 7244)
+++ trunk/exp-drd/tests/sigalrm.c       2007-11-28 01:27:03 UTC (rev 7245)
@@ -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 @@
 
   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) */


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to