Fix defalt_makefiles[] for MS-Windows.

* read.c (read_all_makefiles) [WINDOWS32]: Remove the redundant
"makefile" and add "makefile.mak".

Copyright-paperwork-exempt: yes
This commit is contained in:
Jonny Grant 2014-07-12 12:53:59 +03:00 committed by Eli Zaretskii
parent 8b01e6bebf
commit cab353d1dd

4
read.c
View file

@ -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;