Import strcasestr() from musl and remove -D_GNU_SOURCE

This commit is contained in:
sin
2014-11-20 23:43:08 +00:00
parent ea4f58ff02
commit ce86a05f36
5 changed files with 38 additions and 2 deletions

3
util.h
View File

@@ -33,6 +33,9 @@ void weprintf(const char *, ...);
double estrtod(const char *);
long estrtol(const char *, int);
#undef strcasestr
char *strcasestr(const char *, const char *);
#undef strlcat
size_t strlcat(char *, const char *, size_t);
#undef strlcpy