diff options
author | Steven McCoy <steven.mccoy@miru.hk> | 2010-10-23 14:35:02 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-10-23 14:35:02 +0200 |
commit | 8d6979922efff7183ce03b49715472e5b2a6a1df (patch) | |
tree | 07383203f42d7ee483901794699e622e972f71cf | |
parent | da59f8dd7a7f275eff98e5705767ac89ac503912 (diff) |
Changes for MSVC OpenPGM build.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
-rw-r--r-- | src/pgm_socket.cpp | 1 | ||||
-rw-r--r-- | src/pgm_socket.hpp | 1 | ||||
-rw-r--r-- | src/zmq.cpp | 1 |
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 |