From e42198b7c85f6b707c9dab4de2bba81f089b3b33 Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 22 Jun 2006 00:15:44 +1000 Subject: Implement fallback version of futimes instead of testing for it's existance in reader.c darcs-hash:20060621141544-ac50b-4726e3f63644b64b8bbb5cd829383c1fc6f8d86e.gz --- fallback.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'fallback.c') diff --git a/fallback.c b/fallback.c index 1ed4a477..95889ede 100644 --- a/fallback.c +++ b/fallback.c @@ -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 + -- cgit v1.2.3