Remove custom strnlen for VC 16+

PUBLISHED_FROM=9c28b64267408929f5c565b87978816f3a93f06b
This commit is contained in:
Dmitry Frank 2015-12-05 22:40:19 +01:00 committed by rojer
parent 423b978395
commit 7294674a8b

View File

@ -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