mirror of
https://abf.rosa.ru/djam/zstd.git
synced 2025-02-23 17:32:54 +00:00
14 lines
436 B
Diff
14 lines
436 B
Diff
![]() |
diff --git a/programs/util.c b/programs/util.c
|
||
|
index ab1abd3..30c9237 100644
|
||
|
--- a/programs/util.c
|
||
|
+++ b/programs/util.c
|
||
|
@@ -28,7 +28,7 @@ extern "C" {
|
||
|
# include <io.h> /* _chmod */
|
||
|
#else
|
||
|
# include <unistd.h> /* chown, stat */
|
||
|
-# if PLATFORM_POSIX_VERSION < 200809L
|
||
|
+# if PLATFORM_POSIX_VERSION < 200809L || !defined(st_mtime)
|
||
|
# include <utime.h> /* utime */
|
||
|
# else
|
||
|
# include <fcntl.h> /* AT_FDCWD */
|