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