diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index d48237add..89b26762a 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -34,6 +34,9 @@ int inet_pton(int af, const char *src, void *dst); | |||
34 | #define O_DIRECT 0 | 34 | #define O_DIRECT 0 |
35 | #define O_SPECIAL 0x800000 | 35 | #define O_SPECIAL 0x800000 |
36 | 36 | ||
37 | #define AT_FDCWD -100 | ||
38 | #define AT_SYMLINK_NOFOLLOW 0x100 | ||
39 | |||
37 | /* | 40 | /* |
38 | * grp.h | 41 | * grp.h |
39 | */ | 42 | */ |
@@ -348,6 +351,13 @@ int mingw_fstat(int fd, struct mingw_stat *buf); | |||
348 | #define stat mingw_stat | 351 | #define stat mingw_stat |
349 | #define fstat mingw_fstat | 352 | #define fstat mingw_fstat |
350 | 353 | ||
354 | #define UTIME_NOW ((1l << 30) - 1l) | ||
355 | #define UTIME_OMIT ((1l << 30) - 2l) | ||
356 | |||
357 | int utimensat(int fd, const char *path, const struct timespec times[2], | ||
358 | int flags); | ||
359 | int futimens(int fd, const struct timespec times[2]); | ||
360 | |||
351 | /* | 361 | /* |
352 | * sys/sysinfo.h | 362 | * sys/sysinfo.h |
353 | */ | 363 | */ |