From ce18b591a0ccf6a554d4d4fc419537af71dc63f8 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Fri, 18 Mar 2022 17:16:07 +0000 Subject: Always use utimbuf when building for Windows --- src/libFLAC/metadata_iterators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libFLAC') diff --git a/src/libFLAC/metadata_iterators.c b/src/libFLAC/metadata_iterators.c index 17f25cd6..6f805aed 100644 --- a/src/libFLAC/metadata_iterators.c +++ b/src/libFLAC/metadata_iterators.c @@ -3422,7 +3422,7 @@ FLAC__bool get_file_stats_(const char *filename, struct flac_stat_s *stats) void set_file_stats_(const char *filename, struct flac_stat_s *stats) { -#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) +#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) && !defined(_WIN32) struct timespec srctime[2] = {}; srctime[0].tv_sec = stats->st_atime; srctime[1].tv_sec = stats->st_mtime; -- cgit v1.2.1