From 5dfac2b7ca3fb831434065a18da6ebd84ca4b731 Mon Sep 17 00:00:00 2001 From: helge Date: Tue, 17 Jan 2023 16:51:57 +0100 Subject: [PATCH] strncasecmp -> SCPIDEFINE_strncasecmp --- libscpi/src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libscpi/src/utils.c b/libscpi/src/utils.c index 7ee0958c..cf851929 100644 --- a/libscpi/src/utils.c +++ b/libscpi/src/utils.c @@ -1176,7 +1176,7 @@ char * strncasestrn (const char *s, size_t slen, const char *find, size_t findle if (findlen > slen) { return NULL; } - } while (strncasecmp (s, find, findlen) != 0); + } while (SCPIDEFINE_strncasecmp(s, find, findlen) != 0); s--; return (char *)s;