summaryrefslogtreecommitdiff
path: root/src/ctx.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-06-13 07:53:22 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-06-13 07:53:22 +0200
commitc7fb5c54b688c1817d0604320ac7f9bb3aa02c5c (patch)
tree36f61ed29ae8f7335ab9086aea6afaa50aeb2305 /src/ctx.cpp
parentb164023cca3f29c5eb371a8a0757c98ae4683ae4 (diff)
Reverting previous commit that broke MSVC2010 build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ctx.cpp')
-rw-r--r--src/ctx.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp
index 6d6242e..fb5420d 100644
--- a/src/ctx.cpp
+++ b/src/ctx.cpp
@@ -31,13 +31,9 @@
#include "msg.hpp"
#if defined ZMQ_HAVE_WINDOWS
-#ifndef WIN32_LEAN_AND_MEAN
-#define WIN32_LEAN_AND_MEAN
-#endif
-#include <winsock2.h>
-#include <windows.h>
+#include "windows.h"
#else
-#include <unistd.h>
+#include "unistd.h"
#endif
zmq::ctx_t::ctx_t (uint32_t io_threads_) :