mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Remove custom strnlen for VC 16+
PUBLISHED_FROM=9c28b64267408929f5c565b87978816f3a93f06b
This commit is contained in:
parent
423b978395
commit
7294674a8b
@ -526,7 +526,7 @@ int c_vsnprintf(char *buf, size_t buf_size, const char *format, va_list ap);
|
||||
!(defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200809L) && \
|
||||
!(defined(__DARWIN_C_LEVEL) && __DARWIN_C_LEVEL >= 200809L) && \
|
||||
!defined(RTOS_SDK)) || \
|
||||
defined(_WIN32)
|
||||
(defined(_MSC_VER) && _MSC_VER < 1600 /*Visual Studio 2010*/)
|
||||
#define _MG_PROVIDE_STRNLEN
|
||||
size_t strnlen(const char *s, size_t maxlen);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user