Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
f3729e32
Commit
f3729e32
authored
Jan 01, 2022
by
Rob Swindell
💬
Browse files
Resolve MSVC warning C4273: 'strnlen': inconsistent dll linkage
parent
4177818d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/xpdev/strwrap.h
src/xpdev/strwrap.h
+2
-0
No files found.
src/xpdev/strwrap.h
View file @
f3729e32
...
@@ -24,7 +24,9 @@ extern "C" {
...
@@ -24,7 +24,9 @@ extern "C" {
#endif
#endif
char
*
strndup
(
const
char
*
str
,
size_t
maxlen
);
char
*
strndup
(
const
char
*
str
,
size_t
maxlen
);
#if defined(_WIN32) && !defined(_MSC_VER)
size_t
strnlen
(
const
char
*
s
,
size_t
maxlen
);
size_t
strnlen
(
const
char
*
s
,
size_t
maxlen
);
#endif
#if defined(__cplusplus)
#if defined(__cplusplus)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment