aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-22 00:15:44 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-22 00:15:44 +1000
commite42198b7c85f6b707c9dab4de2bba81f089b3b33 (patch)
treeb0f380a2c169e53447fc17b409ccea3ead6a940c /fallback.c
parent2076944268331c1938ffd0700155c8e7936c19ef (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.c12
1 files changed, 12 insertions, 0 deletions
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
+