From ac0f99fa3aadbc634eae6f1673fe8099c375c116 Mon Sep 17 00:00:00 2001 From: Daniel Pravat Date: Fri, 13 May 2016 11:09:14 -0400 Subject: [PATCH] Windows: Removed `Zookeeper's` NTDDI_VERSION. Review: https://reviews.apache.org/r/47054/ --- 3rdparty/zookeeper-06d3f3f.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/3rdparty/zookeeper-06d3f3f.patch b/3rdparty/zookeeper-06d3f3f.patch index 56480d5f42b..be2ceaf5298 100644 --- a/3rdparty/zookeeper-06d3f3f.patch +++ b/3rdparty/zookeeper-06d3f3f.patch @@ -138,7 +138,18 @@ index ccc3c18..b1f4bfe /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H -@@ -171,12 +173,17 @@ +@@ -156,9 +158,2 @@ Allow APIs defined post NT4 to be used in files using the header + +-#ifndef _WIN32_WINNT_NT4 +-#define _WIN32_WINNT_NT4 0x0400 +-#endif +- +-#define NTDDI_VERSION _WIN32_WINNT_NT4 +-#define _WIN32_WINNT _WIN32_WINNT_NT4 +- +#define _CRT_SECURE_NO_WARNINGS + +@@ -171,12 +164,17 @@ #undef max #include