[git commit nptl] test/pthread: fix build of cancellation-points test
Austin Foxley
austinf at cetoncorp.com
Mon Nov 30 01:20:11 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=5137b8964e8fa06ab11b3f65cfa52154d0e25b02
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
test/pthread/cancellation-points.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/pthread/cancellation-points.c b/test/pthread/cancellation-points.c
index af5df3a..c7e784e 100644
--- a/test/pthread/cancellation-points.c
+++ b/test/pthread/cancellation-points.c
@@ -29,12 +29,12 @@
/* take care of optional things ... */
#define STUB(func, args) static void func args { sleep(0); }
-#if !defined(__UCLIBC__) || defined(__UCLIBC_AIO__)
+#if defined(__UCLIBC_AIO__)
# include <aio.h>
#else
STUB(aio_suspend, (void *p, int n, const void *p2))
#endif
-#if !defined(__UCLIBC__) || defined(__UCLIBC_STROPTS__)
+#if defined(__UCLIBC_STROPTS__)
# include <stropts.h>
#else
STUB(getmsg, (int f, void *p, void *p2, void *p3))
--
1.6.3.3
More information about the uClibc-cvs
mailing list