[core] use buffer_eq_icase* funcs
[lighttpd.git] / src / sys-strings.h
blobd4ff0f31b1b5196807eb0fc08c00a8299b334548
1 #ifndef LI_SYS_STRINGS_H
2 #define LI_SYS_STRINGS_H
3 #include "first.h"
5 #if defined(HAVE_STRINGS_H)
7 #include <strings.h>
9 #else /* HAVE_STRINGS_H */
11 #ifdef _MSC_VER
12 #define strcasecmp(s1,s2) _stricmp(s1,s2)
13 #define strncasecmp(s1,s2,n) _strnicmp(s1,s2,n)
14 #else
15 /* ??? */
16 #endif
18 #endif /* HAVE_STRINGS_H */
20 #endif