]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/config.h.W32.template: [SV 57152] MinGW32 doesn't support d_type
authorPaul Smith <psmith@gnu.org>
Tue, 17 Dec 2019 20:26:06 +0000 (15:26 -0500)
committerPaul Smith <psmith@gnu.org>
Wed, 18 Dec 2019 14:05:40 +0000 (09:05 -0500)
src/config.h.W32.template

index 534f8c363dc51f1f209bcab632c3484d3648b8d8..7c7c8cde2301a937c4d26065c360e484157727fe 100644 (file)
@@ -292,7 +292,10 @@ this program.  If not, see <http://www.gnu.org/licenses/>.  */
 /* #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