Fix for strcasestr on OSX

This commit is contained in:
jsalmon3 2002-05-27 16:21:18 +00:00
parent 29643fe5e8
commit b9895e3a06
2 changed files with 3 additions and 2 deletions
src
include
stratagus

View file

@ -528,7 +528,8 @@ extern void ShowLoadProgress(const char* fmt,...);
extern char* strdcat(const char* l, const char* r);
/// strdup + strcat + strcat
extern char* strdcat3(const char* l, const char *m, const char* r);
#ifndef BSD
#if !defined(BSD) || defined(__APPLE__)
/// case insensitive strstr
extern char* strcasestr(char* str, const char* substr);
#endif // BSD

View file

@ -336,7 +336,7 @@ global char* strdcat3(const char* l, const char* m, const char* r)
return res;
}
#ifndef BSD
#if !defined(BSD) || defined(__APPLE__)
/**
** Case insensitive version of strstr
**