From 3a40407c06a470f5b15a4df310ab135233ac6109 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 29 Dec 2008 13:55:44 +0000 Subject: - expand SUSv3_LEGACY - SUSv4_LEGACY part #1 (non-networking) --- include/unistd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index d028fbd5c..613fc9d8f 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -410,7 +410,8 @@ libc_hidden_proto(alarm) extern unsigned int sleep (unsigned int __seconds); libc_hidden_proto(sleep) -#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED +#if (defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ + && defined __UCLIBC_SUSV3_LEGACY__ /* Set an alarm to go off (generating a SIGALRM signal) in VALUE microseconds. If INTERVAL is nonzero, when the alarm goes off, the timer is reset to go off every INTERVAL microseconds thereafter. -- cgit v1.2.3