summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/windows/named_pipe.cpp4
-rw-r--r--client/windows/named_pipe.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/client/windows/named_pipe.cpp b/client/windows/named_pipe.cpp
index 78361474..856235a2 100644
--- a/client/windows/named_pipe.cpp
+++ b/client/windows/named_pipe.cpp
@@ -20,6 +20,10 @@
#include "utils.h"
#include "debug.h"
+#define PIPE_TIMEOUT 5000
+#define PIPE_MAX_NAME_LEN 256
+#define PIPE_PREFIX TEXT("\\\\.\\pipe\\")
+
PipeBuffer::PipeBuffer(HANDLE pipe, ProcessLoop& process_loop)
: _handler (NULL)
, _pipe (pipe)
diff --git a/client/windows/named_pipe.h b/client/windows/named_pipe.h
index e9b9bccf..4b7cfe64 100644
--- a/client/windows/named_pipe.h
+++ b/client/windows/named_pipe.h
@@ -23,10 +23,7 @@
#include "event_sources.h"
#include "platform.h"
-#define PIPE_TIMEOUT 5000
#define PIPE_BUF_SIZE 8192
-#define PIPE_MAX_NAME_LEN 256
-#define PIPE_PREFIX TEXT("\\\\.\\pipe\\")
class WinConnection;