summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-05-09 08:41:29 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-05-09 08:41:29 +0200
commitbfdcb1d21fc654eeba9fd75ad5ee0c29b1d7765e (patch)
treea56c939586b6850c225e5ca546ac15be617ae1b8
parentec334aa7cdce31894ef11ebfc3c63e4865b16c7a (diff)
Build on Windows and OpenVMS fixed
On Windows and OpenVMS there is no IPC transport. This patch fixes the problem introduced by previous patches, where the fact is not taken into account. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--src/socket_base.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index f1e7fca..931203b 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -503,6 +503,7 @@ int xs::socket_base_t::connect (const char *addr_)
}
}
+#if !defined XS_HAVE_WINDOWS && !defined XS_HAVE_OPENVMS
if (protocol == "ipc") {
ipc_connecter_t connecter (thread, NULL, options, false);
int rc = connecter.set_address (address.c_str());
@@ -510,6 +511,7 @@ int xs::socket_base_t::connect (const char *addr_)
return -1;
}
}
+#endif
#ifdef XS_HAVE_OPENPGM
if (protocol == "pgm" || protocol == "epgm") {