mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
[PellesC] missing '_tcsnccmp'
PellesC compiler does not have this macro in it's `<tchar.h>`
This commit is contained in:
parent
6c293cfcf0
commit
3cd9a23e80
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue