|
From: <sv...@va...> - 2007-11-28 01:27:04
|
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) */
|