summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);