mirror of https://github.com/moparisthebest/curl
[PellesC] missing '_tcsnccmp'
PellesC compiler does not have this macro in it's `<tchar.h>`
This commit is contained in:
parent
6c293cfcf0
commit
3cd9a23e80
|
@ -143,6 +143,16 @@
|
||||||
|
|
||||||
#define BACKEND connssl->backend
|
#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_recv schannel_recv;
|
||||||
static Curl_send schannel_send;
|
static Curl_send schannel_send;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue