summaryrefslogtreecommitdiff
path: root/config-msvc.h
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-11-21 09:37:33 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-11-21 09:37:33 +0100
commit20c8675ba46bda97330a4117c459a59a9f1c465e (patch)
treed888c714fb61947dd79dc44b64a4aaae2f70bfb7 /config-msvc.h
parentffca24bed7a03d95585ad02278667abe75d8b272 (diff)
New upstream version 2.4~beta1upstream/2.4_beta1
Diffstat (limited to 'config-msvc.h')
-rw-r--r--config-msvc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/config-msvc.h b/config-msvc.h
index ae43a5f..9c8d423 100644
--- a/config-msvc.h
+++ b/config-msvc.h
@@ -12,13 +12,14 @@
#define ENABLE_FRAGMENT 1
#define ENABLE_HTTP_PROXY 1
#define ENABLE_LZO 1
+#define ENABLE_LZ4 1
+#define NEED_COMPAT_LZ4 1
#define ENABLE_MANAGEMENT 1
#define ENABLE_MULTIHOME 1
#define ENABLE_PKCS11 1
#define ENABLE_PLUGIN 1
#define ENABLE_PORT_SHARE 1
#define ENABLE_SOCKS 1
-#define ENABLE_SSL 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
@@ -92,7 +93,10 @@
#define strncasecmp strnicmp
#define strcasecmp _stricmp
+
+#if _MSC_VER<1900
#define snprintf _snprintf
+#endif
#if _MSC_VER < 1800
#define strtoull strtoul
@@ -127,3 +131,8 @@ typedef __int8 int8_t;
#include <config-msvc-local.h>
#endif
+// Vista and above has implementation of inet_ntop / inet_pton
+#if _WIN32_WINNT >= _WIN32_WINNT_VISTA
+ #define HAVE_INET_NTOP
+ #define HAVE_INET_PTON
+#endif