Skip to content
Snippets Groups Projects
Commit f3729e32 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve MSVC warning C4273: 'strnlen': inconsistent dll linkage

parent 4177818d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -24,7 +24,9 @@ extern "C" {
#endif
char *strndup(const char *str, size_t maxlen);
#if defined(_WIN32) && !defined(_MSC_VER)
size_t strnlen(const char *s, size_t maxlen);
#endif
#if defined(__cplusplus)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment