summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-08 18:49:30 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-08 18:49:30 +0200
commita3f27400ded11fa14df98943cc412635d7d175ee (patch)
treee018f4547071af5036f2899ff9c4762b77c67ce5 /src
parent1c54ce37b343bda66d25faaa970a5414546cdd92 (diff)
Minor compile-time bug on Windows fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r--src/tcp_connecter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp
index f950896..d62740c 100644
--- a/src/tcp_connecter.cpp
+++ b/src/tcp_connecter.cpp
@@ -201,7 +201,7 @@ int zmq::tcp_connecter_t::open ()
// Enable IPv4-mapping of addresses in case it is disabled by default.
#ifdef IPV6_V6ONLY
if (addr.ss_family == AF_INET6) {
-#if ZMQ_HAVE_WINDOWS
+#ifdef ZMQ_HAVE_WINDOWS
DWORD flag = 0;
#else
int flag = 0;