diff options
Diffstat (limited to 'src/kmk/config.h.W32.template')
-rw-r--r-- | src/kmk/config.h.W32.template | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/kmk/config.h.W32.template b/src/kmk/config.h.W32.template index 533ec82..03d50fc 100644 --- a/src/kmk/config.h.W32.template +++ b/src/kmk/config.h.W32.template @@ -1,7 +1,7 @@ /* config.h.W32 -- hand-massaged config.h file for Windows builds -*-C-*- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, -2006, 2007 Free Software Foundation, Inc. +2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make is free software; you can redistribute it and/or modify it under the @@ -24,6 +24,8 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ # pragma warning(disable:4127) /* conditional expression is constant */ # pragma warning(disable:4131) /* uses old-style declarator */ # pragma warning(disable:4702) /* unreachable code */ +# define _CRT_SECURE_NO_WARNINGS /* function or variable may be unsafe */ +# define _CRT_NONSTDC_NO_WARNINGS /* functions w/o a leading underscore */ #endif /* Define to 1 if the `closedir' function returns void instead of `int'. */ @@ -227,10 +229,19 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* #undef HAVE_STRCASECMP */ /* Define to 1 if you have the `strcmpi' function. */ -#define HAVE_STRCMPI 1 +/* #undef HAVE_STRCMPI */ /* Define to 1 if you have the `stricmp' function. */ -/* #undef HAVE_STRICMP */ +#define HAVE_STRICMP 1 + +/* Define to 1 if you have the `strncasecmp' function. */ +/* #undef HAVE_STRNCASECMP */ + +/* Define to 1 if you have the `strncmpi' function. */ +/* #undef HAVE_STRNCMPI */ + +/* Define to 1 if you have the `strnicmp' function. */ +#define HAVE_STRNICMP 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 @@ -426,8 +437,12 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* Define to `int' if <sys/types.h> does not define. */ /* GCC 4.x reportedly defines pid_t. */ #ifndef _PID_T_ +#ifdef _WIN64 +#define pid_t __int64 +#else #define pid_t int #endif +#endif /* Define to `int' if <sys/types.h> doesn't define. */ #define uid_t int |