diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index c91f43b23..fa6f84fa5 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -143,6 +143,16 @@ #define BACKEND connssl->backend +/* PellesC v10 does not have this in it's + */ +#ifndef _tcsnccmp +# ifdef UNICODE +# define _tcsnccmp wcsncmp +# else +# define _tcsnccmp strncmp +# endif +#endif + static Curl_recv schannel_recv; static Curl_send schannel_send;