summaryrefslogtreecommitdiff
path: root/src/pgm_sender.cpp
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-10-06 12:57:24 +0200
committermalosek <malosek@fastmq.com>2009-10-06 12:57:24 +0200
commit7afc61ae7c4859fa1a6273e1964d378c00142746 (patch)
tree4ca974a1c1a4f0aa416f7e5dfc30851e6ca5387a /src/pgm_sender.cpp
parentac83175ef0f0084f281a416785679f8b56f551b9 (diff)
0MQ compilable on winXP mingw with --with-pgm2 option
Diffstat (limited to 'src/pgm_sender.cpp')
-rw-r--r--src/pgm_sender.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pgm_sender.cpp b/src/pgm_sender.cpp
index 51dfbf1..4fb6d2b 100644
--- a/src/pgm_sender.cpp
+++ b/src/pgm_sender.cpp
@@ -21,6 +21,10 @@
#if defined ZMQ_HAVE_OPENPGM
+#ifdef ZMQ_HAVE_WINDOWS
+#include "windows.hpp"
+#endif
+
#include <iostream>
#include "io_thread.hpp"
@@ -42,7 +46,6 @@
{ printf (__VA_ARGS__);}} while (0)
#endif
-#ifdef ZMQ_HAVE_LINUX
zmq::pgm_sender_t::pgm_sender_t (io_thread_t *parent_,
const options_t &options_, const char *session_name_) :
io_object_t (parent_),
@@ -213,4 +216,3 @@ size_t zmq::pgm_sender_t::write_one_pkt_with_offset (unsigned char *data_,
}
#endif
-#endif