diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-01-11 14:49:17 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-01-11 14:49:17 -0800 |
commit | 21487cc929b7f3621327e619237bc473222ddb00 (patch) | |
tree | d82148b7b30587e7277b43432f7c9b260c06b813 /posix/unistd.h | |
parent | 7cdb5a32f9708af6f0dbef8c47bbd8b864d0c62e (diff) | |
download | glibc-21487cc929b7f3621327e619237bc473222ddb00.zip glibc-21487cc929b7f3621327e619237bc473222ddb00.tar.gz glibc-21487cc929b7f3621327e619237bc473222ddb00.tar.bz2 |
Fix handling symbols removed in XPG7.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index ae997ad..d869755 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -440,8 +440,8 @@ extern unsigned int alarm (unsigned int __seconds) __THROW; __THROW. */ extern unsigned int sleep (unsigned int __seconds); -#if (defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ - && !defined __USE_XOPEN2K8 +#if ((defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ + && !defined __USE_XOPEN2K8) || defined __USE_GNU /* 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. @@ -514,8 +514,8 @@ extern char *getcwd (char *__buf, size_t __size) __THROW __wur; extern char *get_current_dir_name (void) __THROW; #endif -#if (defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ - && !defined __USE_XOPEN2K8 +#if ((defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ + && !defined __USE_XOPEN2K8) || defined __USE_GNU /* Put the absolute pathname of the current working directory in BUF. If successful, return BUF. If not, put an error message in BUF and return NULL. BUF should be at least PATH_MAX bytes long. */ @@ -774,8 +774,8 @@ extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) and the process ID of the new process to the old process. */ extern __pid_t fork (void) __THROW; -#if (defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ - && !defined __USE_XOPEN2K8 +#if ((defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \ + && !defined __USE_XOPEN2K8) || defined __USE_GNU /* Clone the calling process, but without copying the whole address space. The calling process is suspended until the new process exits or is replaced by a call to `execve'. Return -1 for errors, 0 to the new process, |