summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
Diffstat (limited to 'make.h')
-rw-r--r--make.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/make.h b/make.h
index af35eaf7..4bc54cf2 100644
--- a/make.h
+++ b/make.h
@@ -35,7 +35,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
# ifdef _AIX
#pragma alloca
# else
-# ifndef __GNUC__
+# if !defined(__GNUC__) && !defined(WINDOWS32)
# ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
# endif
@@ -487,7 +487,18 @@ char *getwd ();
# define strcasecmp strcmpi
# else
/* Create our own, in misc.c */
-int strcasecmp (const char *s1, const char *s2);
+int strcasecmp (const char *s1, const char *s2, int n);
+# endif
+#endif
+
+#if !HAVE_STRNCASECMP
+# if HAVE_STRNICMP
+# define strncasecmp strnicmp
+# elif HAVE_STRNCMPI
+# define strncasecmp strncmpi
+# else
+/* Create our own, in misc.c */
+int strncasecmp (const char *s1, const char *s2);
# endif
#endif