diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-10-20 14:38:57 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-10-20 14:38:57 +0000 |
commit | c70571bdbe40645dffd361c2ffb283f4a9275fc2 (patch) | |
tree | ad3c06deefacc75b53e09a01c1d99b3f7dcbd514 /newlib | |
parent | 81bd1ca7231e12c4cd0248784355ddd8a6de6918 (diff) | |
download | newlib-c70571bdbe40645dffd361c2ffb283f4a9275fc2.zip newlib-c70571bdbe40645dffd361c2ffb283f4a9275fc2.tar.gz newlib-c70571bdbe40645dffd361c2ffb283f4a9275fc2.tar.bz2 |
* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/time.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a1350ad..1788da0 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-10-20 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin. + 2005-10-18 Corinna Vinschen <corinna@vinschen.de> * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin. diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h index 4771f57..6e11ae2 100644 --- a/newlib/libc/include/sys/time.h +++ b/newlib/libc/include/sys/time.h @@ -73,6 +73,10 @@ struct itimerval { int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z)); int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *)); int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp)); +#ifdef __CYGWIN__ +int _EXFUN(futimes, (int __fd, const struct timeval *__tvp)); +int _EXFUN(lutimes, (const char *__path, const struct timeval *__tvp)); +#endif int _EXFUN(getitimer, (int __which, struct itimerval *__value)); int _EXFUN(setitimer, (int __which, const struct itimerval *__value, struct itimerval *__ovalue)); |