Commit f3729e32 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

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

parent 4177818d
......@@ -24,7 +24,9 @@ extern "C" {
char *strndup(const char *str, size_t maxlen);
#if defined(_WIN32) && !defined(_MSC_VER)
size_t strnlen(const char *s, size_t maxlen);
#if defined(__cplusplus)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment