mirror of
https://git.proxmox.com/git/package-rebuilds
synced 2025-08-23 11:05:27 +00:00
18 lines
342 B
C
18 lines
342 B
C
#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
|