summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;