From 8d6979922efff7183ce03b49715472e5b2a6a1df Mon Sep 17 00:00:00 2001 From: Steven McCoy Date: Sat, 23 Oct 2010 14:35:02 +0200 Subject: Changes for MSVC OpenPGM build. Signed-off-by: Steven McCoy --- src/pgm_socket.cpp | 1 - src/pgm_socket.hpp | 1 + src/zmq.cpp | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) 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 #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 #endif -- cgit v1.2.3