You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ns...@apache.org on 2016/01/06 12:10:05 UTC

thrift git commit: THRIFT-3437 Fixed MinGW-w64 build

Repository: thrift
Updated Branches:
  refs/heads/master 3ab9f2b5e -> c91bd7493


THRIFT-3437 Fixed MinGW-w64 build

A small follow-up fix:
Avoid redefinition of AI_ADDRCONFIG on non-Windows platforms.


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

Branch: refs/heads/master
Commit: c91bd74934c4e466b14718a47608f79812008525
Parents: 3ab9f2b
Author: Nobuaki Sukegawa <ns...@apache.org>
Authored: Wed Jan 6 19:26:55 2016 +0900
Committer: Nobuaki Sukegawa <ns...@apache.org>
Committed: Wed Jan 6 20:07:55 2016 +0900

----------------------------------------------------------------------
 lib/cpp/src/thrift/server/TNonblockingServer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/c91bd749/lib/cpp/src/thrift/server/TNonblockingServer.cpp
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
index 96ee517..1e35275 100644
--- a/lib/cpp/src/thrift/server/TNonblockingServer.cpp
+++ b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
@@ -69,7 +69,7 @@
 #define PRIu64 "I64u"
 #endif
 
-#if (_WIN32_WINNT < 0x0600)
+#if defined(_WIN32) && (_WIN32_WINNT < 0x0600)
   #define AI_ADDRCONFIG 0x0400
 #endif