diff options
author | axel <axel@liljencrantz.se> | 2006-06-22 00:15:44 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-22 00:15:44 +1000 |
commit | e42198b7c85f6b707c9dab4de2bba81f089b3b33 (patch) | |
tree | b0f380a2c169e53447fc17b409ccea3ead6a940c /fallback.c | |
parent | 2076944268331c1938ffd0700155c8e7936c19ef (diff) |
Implement fallback version of futimes instead of testing for it's existance in reader.c
darcs-hash:20060621141544-ac50b-4726e3f63644b64b8bbb5cd829383c1fc6f8d86e.gz
Diffstat (limited to 'fallback.c')
-rw-r--r-- | fallback.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1020,3 +1020,15 @@ int srand48_r(long int seedval, struct drand48_data *buffer) } #endif + +#ifndef HAVE_FUTIMES + +int futimes(int fd, const struct timeval *times) +{ + errno = ENOSYS; + return -1; +} + + +#endif + |