summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-29 13:55:44 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-29 13:55:44 +0000
commit3a40407c06a470f5b15a4df310ab135233ac6109 (patch)
tree5835d1a4d987f81411c4fe9cf3153467aea597f5 /include/unistd.h
parent30f06faa24eb3d6da34c80f5632a7f01aee900e0 (diff)
- expand SUSv3_LEGACY
- SUSv4_LEGACY part #1 (non-networking)
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h3
1 files changed, 2 insertions, 1 deletions
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.