diff options
author | Nobuaki Sukegawa <nsuke@apache.org> | 2016-01-06 19:26:55 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-01-06 20:07:55 +0900 |
commit | c91bd74934c4e466b14718a47608f79812008525 (patch) | |
tree | 132ade2decfbf9c4865d31c1b78f2a08aa690003 /lib/cpp | |
parent | 3ab9f2b5eeffbc0a9810a306144cb3d53eb52f64 (diff) | |
download | thrift-c91bd74934c4e466b14718a47608f79812008525.tar.gz |
THRIFT-3437 Fixed MinGW-w64 build
A small follow-up fix:
Avoid redefinition of AI_ADDRCONFIG on non-Windows platforms.
Diffstat (limited to 'lib/cpp')
-rw-r--r-- | lib/cpp/src/thrift/server/TNonblockingServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp index 96ee517c3..1e35275d4 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 |