Windows: Removed `Zookeeper's` NTDDI_VERSION.

Review: https://reviews.apache.org/r/47054/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ac0f99fa
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ac0f99fa
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ac0f99fa

Branch: refs/heads/master
Commit: ac0f99fa3aadbc634eae6f1673fe8099c375c116
Parents: 148348b
Author: Daniel Pravat <dpra...@outlook.com>
Authored: Fri May 13 11:09:14 2016 -0400
Committer: Joris Van Remoortere <joris.van.remoort...@gmail.com>
Committed: Fri May 13 11:27:59 2016 -0400

----------------------------------------------------------------------
 3rdparty/zookeeper-06d3f3f.patch | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ac0f99fa/3rdparty/zookeeper-06d3f3f.patch
----------------------------------------------------------------------
diff --git a/3rdparty/zookeeper-06d3f3f.patch b/3rdparty/zookeeper-06d3f3f.patch
index 56480d5..be2ceaf 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 <arpa/inet.h> 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 <errno.h>

Reply via email to