summaryrefslogtreecommitdiffstats
path: root/compat/posix-shims/strings.h
blob: 1ac0519dc37a7ab2c2fa87b83d5d09d33d8f9eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <compat.h>

#ifndef HAVE_STRCASECMP
#ifdef _MSC_VER
#define strcasecmp _stricmp
#else
#error No strcasecmp() implementation for this platform is available.
#endif
#endif

#ifndef HAVE_STRNCASECMP
#ifdef _MSC_VER
#define strncasecmp _strnicmp
#else
#error No strncasecmp() implementation for this platform is available.
#endif
#endif