From 9b795de4afdd5669a9000c5d13bec61e51fbba49 Mon Sep 17 00:00:00 2001 From: Steven McCoy Date: Sat, 18 Jun 2011 20:44:03 +0200 Subject: Refactor Windows versioning and WinSock usage.Signed-off-by: Steven McCoy --- src/ctx.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/ctx.cpp') diff --git a/src/ctx.cpp b/src/ctx.cpp index fb5420d..66255f0 100644 --- a/src/ctx.cpp +++ b/src/ctx.cpp @@ -18,24 +18,24 @@ along with this program. If not, see . */ +#include "platform.hpp" +#if defined ZMQ_HAVE_WINDOWS +#include "windows.hpp" +#else +#include +#endif + #include #include #include "ctx.hpp" #include "socket_base.hpp" #include "io_thread.hpp" -#include "platform.hpp" #include "reaper.hpp" #include "pipe.hpp" #include "err.hpp" #include "msg.hpp" -#if defined ZMQ_HAVE_WINDOWS -#include "windows.h" -#else -#include "unistd.h" -#endif - zmq::ctx_t::ctx_t (uint32_t io_threads_) : tag (0xbadcafe0), terminating (false) -- cgit v1.2.3