unbelievably, cygwin doesn't have strcasestr(3)

This commit is contained in:
tg
2006-11-12 13:15:27 +00:00
parent 5267e51098
commit 2c1ffced08
3 changed files with 72 additions and 2 deletions

5
sh.h
View File

@@ -8,7 +8,7 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.81 2006/11/12 10:44:42 tg Exp $"
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.82 2006/11/12 13:15:26 tg Exp $"
#define MKSH_VERSION "R29 2006/11/12"
#if HAVE_SYS_PARAM_H
@@ -124,6 +124,9 @@
mode_t getmode(const void *, mode_t);
void *setmode(const char *);
#endif
#if !HAVE_STRCASESTR
char *strcasestr(const char *, const char *);
#endif
#if !HAVE_STRLCPY
size_t strlcpy(char *, const char *, size_t);
#endif