blob: 1ac0519dc37a7ab2c2fa87b83d5d09d33d8f9eaf [file] [log] [blame]
Jan Kundrát6568f342021-12-11 20:47:42 +01001#include <compat.h>
2
3#ifndef HAVE_STRCASECMP
4#ifdef _MSC_VER
5#define strcasecmp _stricmp
6#else
7#error No strcasecmp() implementation for this platform is available.
8#endif
9#endif
aPiecek69b3c4b2023-05-30 11:25:30 +020010
11#ifndef HAVE_STRNCASECMP
12#ifdef _MSC_VER
13#define strncasecmp _strnicmp
14#else
15#error No strncasecmp() implementation for this platform is available.
16#endif
17#endif