From 89ae344452984fcbdbaf46eb66ac6651f58c2891 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 25 Jun 2024 08:35:20 +0100 Subject: win32: add definition for old mingw-w64 --- win32/mingw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win32/mingw.c b/win32/mingw.c index 467e4a33d..7e42e4434 100644 --- a/win32/mingw.c +++ b/win32/mingw.c @@ -672,6 +672,10 @@ int count_subdirs(const char *pathname) } #endif +#ifndef FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS +# define FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS 0x00400000 +#endif + /* If follow is true then act like stat() and report on the link * target. Otherwise report on the link itself. */ -- cgit v1.2.3-55-g6feb