From 5e4c05da0b558ea0fa085810c4709d78bda08027 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 22 Feb 2005 15:31:51 +0000 Subject: * libc/include/sys/unistd.h: Define fdatasync also for Cygwin. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/sys/unistd.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'newlib') diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fa8a146b4..25ade3e36 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-02-22 Corinna Vinschen + + * libc/include/sys/unistd.h: Define fdatasync also for Cygwin. + 2005-02-16 Eric Blake * libc/time/time.tex: Improve the documentation. diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 46db13c27..9b845746a 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)); -- cgit v1.2.3