Windows: Add a custom implementation for utime().
[gitweb.git] / compat / mingw.h
index 69b1dde3ca07bdb695eb5c87f124ec3b9a34b714..92e9273dd50a29bf8e2f7769ab7ea2256eeb471b 100644 (file)
@@ -168,6 +168,9 @@ int mingw_fstat(int fd, struct stat *buf);
 #define lstat mingw_lstat
 #define stat(x,y) mingw_lstat(x,y)
 
+int mingw_utime(const char *file_name, const struct utimbuf *times);
+#define utime mingw_utime
+
 pid_t mingw_spawnvpe(const char *cmd, const char **argv, char **env);
 void mingw_execvp(const char *cmd, char *const *argv);
 #define execvp mingw_execvp