-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.win
50 lines (37 loc) · 1.71 KB
/
config.h.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* Uncomment whichever lib you have installed.
*/
/* Uncomment if you have zlib available and want to use it */
// #define HAVE_ZLIB 1
/* Comment out if you don't want to use Win's native TLS functions */
#define HAVE_WINTLS 1
/* Uncomment if you are compiling for Windows 7 or above, or Windows Server 2008 R2 and above, and
* want to be able to use Channel Binding (with SASL SCRAM-SHA-1-PLUS). */
// #define HAVE_WINTLS_CHANNEL_BINDING 1
/* Uncomment if you have GnuTLS available and want to use it */
// #define HAVE_GNUTLS 1
/* Uncomment if you have GnuTLS 2.12.0 or above */
// #define HAVE_GNUTLS_SESSION_CHANNEL_BINDING 1
/* Uncomment if you have OpenSSL available and want to use it */
// #define HAVE_OPENSSL 1
/* Uncomment if you have LibIDN available and want to use it */
// #define HAVE_LIBIDN 1
/* Uncomment if you have the getaddrinfo function and want IPv6 support (XP and up) */
// #define HAVE_GETADDRINFO 1
/* Comment out if you don't have windns.h (e.g. if you use an old Platform SDK) */
#define HAVE_WINDNS_H 1
/* Comment out if you don't have the `setsockopt' function. Usually available. */
#define HAVE_SETSOCKOPT 1
#ifdef _MSC_VER
#pragma comment( lib, "Dnsapi.lib" )
#pragma comment( lib, "Secur32.lib" )
#pragma comment( lib, "Crypt32.lib" )
#pragma comment( lib, "ws2_32.lib" )
/* The following silences a few C4355 warnings ('this' : used in member initializer list).
This is only used with Parser which doesn't do anything with its TagHandler in the ctor,
so muting C4355 is safe. */
#pragma warning( disable : 4355 )
/* The following silcences warnings concerning "unsafe" functions (sprintf, strncpy, etc.).
They are used in a safe way here, though. */
#pragma warning( disable : 4996 )
#endif