Jan Kundrát | 6568f34 | 2021-12-11 20:47:42 +0100 | [diff] [blame] | 1 | #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 | ||||
aPiecek | 69b3c4b | 2023-05-30 11:25:30 +0200 | [diff] [blame] | 10 | |
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 |