From 577dd1ff6df7d03ced3ca6129f6d83543da533fd Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 17 Dec 2019 15:26:06 -0500 Subject: [PATCH] * src/config.h.W32.template: [SV 57152] MinGW32 doesn't support d_type --- src/config.h.W32.template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config.h.W32.template b/src/config.h.W32.template index 534f8c36..7c7c8cde 100644 --- a/src/config.h.W32.template +++ b/src/config.h.W32.template @@ -292,7 +292,10 @@ this program. If not, see . */ /* #undef HAVE_STRSIGNAL */ /* Define to 1 if `d_type' is a member of `struct dirent'. */ -#define HAVE_STRUCT_DIRENT_D_TYPE 1 +/* SV 57152: MinGW64 version of dirent doesn't support d_type. */ +#ifndef __MINGW64__ +# define HAVE_STRUCT_DIRENT_D_TYPE 1 +#endif /* Define to 1 if you have the `isatty' function. */ #define HAVE_ISATTY 1