1
0
Fork 0
libyang/compat/posix-shims/strings.h
Daniel Baumann cfcebb1a7d
Adding upstream version 3.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 08:00:08 +01:00

17 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