diff options
| author | Ted Ross <tross@apache.org> | 2011-05-18 02:14:07 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-05-18 02:14:07 +0000 |
| commit | 14b0cae9603e984f0fec96f5be60d862d37544f4 (patch) | |
| tree | 2a530f3a690e6bafca5819ee90fe2b4427e603a4 /cpp/src/qpid/sys/windows/SocketAddress.cpp | |
| parent | eef82d0f82f5e15de797787ecaf80b07db08a767 (diff) | |
| download | qpid-python-14b0cae9603e984f0fec96f5be60d862d37544f4.tar.gz | |
QPID-2905 - Code modifications to enable Windows builds with the mingw32 compiler.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104662 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/SocketAddress.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/windows/SocketAddress.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/windows/SocketAddress.cpp b/cpp/src/qpid/sys/windows/SocketAddress.cpp index 501cff1297..5efdad0183 100644 --- a/cpp/src/qpid/sys/windows/SocketAddress.cpp +++ b/cpp/src/qpid/sys/windows/SocketAddress.cpp @@ -19,6 +19,11 @@ * */ +// Ensure we get all of winsock2.h +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0501 +#endif + #include "qpid/sys/SocketAddress.h" #include "qpid/sys/windows/check.h" |
