From bfdcb1d21fc654eeba9fd75ad5ee0c29b1d7765e Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 9 May 2012 08:41:29 +0200 Subject: 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 --- src/socket_base.cpp | 2 ++ 1 file changed, 2 insertions(+) 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") { -- cgit v1.2.3