summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-02-16 10:06:17 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:06:17 +0900
commitbf27a8a5282dab443335d8a8ab62cdf8fe1f6a95 (patch)
tree837bbb218bc7c0b07766752d025e6bea293d3316 /src
parent802d84df533c131f91fbc599dae915390fad3e2b (diff)
Windows version of the tests implemented
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'src')
-rw-r--r--src/ctx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp
index df1019b..97a3e62 100644
--- a/src/ctx.cpp
+++ b/src/ctx.cpp
@@ -82,8 +82,10 @@ xs::ctx_t::ctx_t (uint32_t io_threads_) :
int hwm = 1;
rc = log_socket->setsockopt (XS_SNDHWM, &hwm, sizeof (hwm));
errno_assert (rc == 0);
+#if !defined XS_HAVE_WINDOWS
rc = log_socket->connect ("ipc:///tmp/xslogs.ipc");
errno_assert (rc == 0);
+#endif
// Create the monitor object.
io_thread_t *io_thread = choose_io_thread (0);