diff options
Diffstat (limited to 'nptl/libc-cancellation.c')
-rw-r--r-- | nptl/libc-cancellation.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/libc-cancellation.c b/nptl/libc-cancellation.c index ae568cfa78..1db99ea18a 100644 --- a/nptl/libc-cancellation.c +++ b/nptl/libc-cancellation.c @@ -23,6 +23,8 @@ #include "atomic.h" +#if !defined NOT_IN_libc + /* The next two functions are similar to pthread_setcanceltype() but more specialized for the use in the cancelable functions like write(). They do not need to check parameters etc. */ @@ -82,3 +84,5 @@ __libc_disable_asynccancel (int oldtype) break; } } + +#endif |