From 97d4cb6ee085b59a76c0e2174a66c2b074076086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Tue, 2 Feb 2021 17:59:42 +0100 Subject: [PATCH] [CRT] Declare strlen & wcslen as _CRTIMP --- sdk/include/crt/string.h | 1 + sdk/include/crt/wchar.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sdk/include/crt/string.h b/sdk/include/crt/string.h index 3249254c947..caeb23fcdc9 100644 --- a/sdk/include/crt/string.h +++ b/sdk/include/crt/string.h @@ -150,6 +150,7 @@ extern "C" { _In_z_ const char *_Str1, _In_z_ const char *_Str2); + _CRTIMP size_t __cdecl strlen( diff --git a/sdk/include/crt/wchar.h b/sdk/include/crt/wchar.h index eadde09cfbd..309bed76cef 100644 --- a/sdk/include/crt/wchar.h +++ b/sdk/include/crt/wchar.h @@ -1929,6 +1929,7 @@ _CRTIMP int __cdecl iswblank(wint_t _C); _In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_Control); + _CRTIMP size_t __cdecl wcslen(