[PellesC] missing '_tcsnccmp'

PellesC compiler does not have this macro in it's `<tchar.h>`
This commit is contained in:
Gisle Vanem 2021-07-15 13:14:04 +02:00 committed by Gisle Vanem
parent 6c293cfcf0
commit 3cd9a23e80
1 changed files with 10 additions and 0 deletions

View File

@ -143,6 +143,16 @@
#define BACKEND connssl->backend
/* PellesC v10 does not have this in it's <tchar.h>
*/
#ifndef _tcsnccmp
# ifdef UNICODE
# define _tcsnccmp wcsncmp
# else
# define _tcsnccmp strncmp
# endif
#endif
static Curl_recv schannel_recv;
static Curl_send schannel_send;