diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-05-09 08:41:29 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-05-09 08:41:29 +0200 |
commit | bfdcb1d21fc654eeba9fd75ad5ee0c29b1d7765e (patch) | |
tree | a56c939586b6850c225e5ca546ac15be617ae1b8 /src/socket_base.cpp | |
parent | ec334aa7cdce31894ef11ebfc3c63e4865b16c7a (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>
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r-- | src/socket_base.cpp | 2 |
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") { |