mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-12 16:45:35 +00: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
3 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
|
|
1
main.c
1
main.c
|
@ -33,6 +33,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#ifdef WINDOWS32
|
||||
# include <windows.h>
|
||||
# include <io.h>
|
||||
# include <strings.h> /* for strcasecmp */
|
||||
# include "pathstuff.h"
|
||||
# include "sub_proc.h"
|
||||
# include "w32err.h"
|
||||
|
|
Loading…
Reference in a new issue