From 5137b8964e8fa06ab11b3f65cfa52154d0e25b02 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Sun, 29 Nov 2009 17:00:38 -0800 Subject: test/pthread: fix build of cancellation-points test Signed-off-by: Austin Foxley --- test/pthread/cancellation-points.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/pthread/cancellation-points.c b/test/pthread/cancellation-points.c index af5df3aa1..c7e784e4f 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 #else STUB(aio_suspend, (void *p, int n, const void *p2)) #endif -#if !defined(__UCLIBC__) || defined(__UCLIBC_STROPTS__) +#if defined(__UCLIBC_STROPTS__) # include #else STUB(getmsg, (int f, void *p, void *p2, void *p3)) -- cgit v1.2.3