Skip to content

Commit 9b586f2

Browse files
committed
windows unhappy, use ISO C and C++ conformant name instead.
Signed-off-by: Tomoya.Fujita <[email protected]>
1 parent 20b9c98 commit 9b586f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/strcasecmp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ rcutils_strcasecmp(
3434
#ifndef _WIN32
3535
*value = strcasecmp(s1, s2);
3636
#else
37-
*value = stricmp(s1, s2);
37+
*value = _stricmp(s1, s2);
3838
#endif
3939
return 0;
4040
}
@@ -52,7 +52,7 @@ rcutils_strncasecmp(
5252
#ifndef _WIN32
5353
*value = strncasecmp(s1, s2, n);
5454
#else
55-
*value = strnicmp(s1, s2, n);
55+
*value = _strnicmp(s1, s2, n);
5656
#endif
5757
return 0;
5858
}

0 commit comments

Comments
 (0)