summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven McCoy <steven.mccoy@miru.hk>2010-10-23 14:35:02 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-10-23 14:35:02 +0200
commit8d6979922efff7183ce03b49715472e5b2a6a1df (patch)
tree07383203f42d7ee483901794699e622e972f71cf
parentda59f8dd7a7f275eff98e5705767ac89ac503912 (diff)
Changes for MSVC OpenPGM build.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
-rw-r--r--src/pgm_socket.cpp1
-rw-r--r--src/pgm_socket.hpp1
-rw-r--r--src/zmq.cpp1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/pgm_socket.cpp b/src/pgm_socket.cpp
index 70a60e0..abfa804 100644
--- a/src/pgm_socket.cpp
+++ b/src/pgm_socket.cpp
@@ -100,7 +100,6 @@ int zmq::pgm_socket_t::init (bool udp_encapsulation_, const char *network_)
nbytes_processed = 0;
pgm_msgv_processed = 0;
- bool rc;
pgm_error_t *pgm_error = NULL;
struct pgm_addrinfo_t hints, *res = NULL;
sa_family_t sa_family;
diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp
index 142fdcc..10af0c2 100644
--- a/src/pgm_socket.hpp
+++ b/src/pgm_socket.hpp
@@ -28,6 +28,7 @@
#include "windows.hpp"
#endif
+#define __PGM_WININT_H__
#include <pgm/pgm.h>
#include "options.hpp"
diff --git a/src/zmq.cpp b/src/zmq.cpp
index c3aca6a..a99aeb5 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -51,6 +51,7 @@
#endif
#if defined ZMQ_HAVE_OPENPGM
+#define __PGM_WININT_H__
#include <pgm/pgm.h>
#endif