diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-02-22 15:31:51 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-02-22 15:31:51 +0000 |
commit | 5e4c05da0b558ea0fa085810c4709d78bda08027 (patch) | |
tree | cdee3cf7d0bbbdc3e377ac9de213759074ae5044 /newlib | |
parent | a62f6b806ebe83a6158133084d7ce104e0e2fa62 (diff) | |
download | newlib-5e4c05da0b558ea0fa085810c4709d78bda08027.zip newlib-5e4c05da0b558ea0fa085810c4709d78bda08027.tar.gz newlib-5e4c05da0b558ea0fa085810c4709d78bda08027.tar.bz2 |
* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fa8a146..25ade3e 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-02-22 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/sys/unistd.h: Define fdatasync also for Cygwin. + 2005-02-16 Eric Blake <ebb9@byu.net> * libc/time/time.tex: Improve the documentation. diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 46db13c..9b84574 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -53,9 +53,7 @@ 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)); |