Fix for strcasestr on OSX
This commit is contained in:
parent
29643fe5e8
commit
b9895e3a06
2 changed files with 3 additions and 2 deletions
src
|
@ -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
|
||||
|
|
|
@ -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
|
||||
**
|
||||
|
|
Loading…
Add table
Reference in a new issue