Fix defalt_makefiles[] for MS-Windows.
authorJonny Grant <jg@jguk.org>
Sat, 12 Jul 2014 09:53:59 +0000 (12:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Jul 2014 09:53:59 +0000 (12:53 +0300)
* read.c (read_all_makefiles) [WINDOWS32]: Remove the redundant
"makefile" and add "makefile.mak".

Copyright-paperwork-exempt: yes

read.c

diff --git a/read.c b/read.c
index fe33ab29da3887d550ec6d71098b511961e4ce4c..6ac66f4f96c11438bb3a5e059a21ada7450862ca 100644 (file)
--- a/read.c
+++ b/read.c
@@ -246,7 +246,11 @@ read_all_makefiles (const char **makefiles)
 #ifdef _AMIGA
         { "GNUmakefile", "Makefile", "SMakefile", 0 };
 #else /* !Amiga && !VMS */
+#ifdef WINDOWS32
+        { "GNUmakefile", "Makefile", "makefile.mak", 0 };
+#else /* !Amiga && !VMS && !WINDOWS32 */
         { "GNUmakefile", "makefile", "Makefile", 0 };
+#endif /* !Amiga && !VMS && !WINDOWS32 */
 #endif /* AMIGA */
 #endif /* VMS */
       const char **p = default_makefiles;