OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5921409
)
test/pthread: fix build of cancellation-points test
author
Austin Foxley
<austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:00:38 +0000
(17:00 -0800)
committer
Austin Foxley
<austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:15:36 +0000
(17:15 -0800)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
test/pthread/cancellation-points.c
patch
|
blob
|
history
diff --git
a/test/pthread/cancellation-points.c
b/test/pthread/cancellation-points.c
index
af5df3a
..
c7e784e
100644
(file)
--- 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))