mirror of
https://github.com/mirror/make.git
synced 2025-03-03 14:20:54 +08:00
Avoid compiler warnings with MinGW runtime 3.22.2
* main.c: * job.c: Include strings.h, to get the prototypes of strcasecmp and strncasecmp with latest MinGW runtime versions. * config.h.W32.template (HAVE_STRINGS_H): Define.
This commit is contained in:
parent
6f339b22eb
commit
0b41373312
@ -268,7 +268,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#define HAVE_STRICMP 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
/* #define HAVE_STRINGS_H 1 */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
1
job.c
1
job.c
@ -29,6 +29,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Default shell to use. */
|
||||
#ifdef WINDOWS32
|
||||
#include <strings.h> /* for strcasecmp, strncasecmp */
|
||||
#include <windows.h>
|
||||
|
||||
const char *default_shell = "sh.exe";
|
||||
|
Loading…
Reference in New Issue
Block a user