diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-09 02:22:01 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-09 02:22:01 +0000 |
commit | 733309f5761d777a61b8db86e734fbffc236f104 (patch) | |
tree | bb3cb40554b815191e9372fd10de17ffa0a24b01 /newlib/libc/include/sys/unistd.h | |
parent | 6946073e784471e1fc51fffd705b0cbc4d58e730 (diff) | |
download | cygnal-733309f5761d777a61b8db86e734fbffc236f104.tar.gz cygnal-733309f5761d777a61b8db86e734fbffc236f104.tar.bz2 cygnal-733309f5761d777a61b8db86e734fbffc236f104.zip |
* libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
* libc/include/sys/reent.h (__getreent): Protect against possibly being
defined.
* libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
Diffstat (limited to 'newlib/libc/include/sys/unistd.h')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 387e2ef17..6a49d5d47 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -53,7 +53,9 @@ int _EXFUN(fchown, (int __fildes, uid_t __owner, gid_t __group )); pid_t _EXFUN(fork, (void )); long _EXFUN(fpathconf, (int __fd, int __name )); int _EXFUN(fsync, (int __fd)); +#ifndef __CYGWIN__ int _EXFUN(fdatasync, (int __fd)); +#endif char _EXFUN(*getcwd, (char *__buf, size_t __size )); #if defined(__CYGWIN__) int _EXFUN(getdomainname ,(char *__name, size_t __len)); |