From 7afc61ae7c4859fa1a6273e1964d378c00142746 Mon Sep 17 00:00:00 2001 From: malosek Date: Tue, 6 Oct 2009 12:57:24 +0200 Subject: 0MQ compilable on winXP mingw with --with-pgm2 option --- src/pgm_socket.hpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/pgm_socket.hpp') diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp index c9d03bd..9b9ae45 100644 --- a/src/pgm_socket.hpp +++ b/src/pgm_socket.hpp @@ -24,13 +24,12 @@ #if defined ZMQ_HAVE_OPENPGM -#ifdef ZMQ_HAVE_LINUX -#include -#include -#else -#include +#ifdef ZMQ_HAVE_WINDOWS +#include "windows.hpp" #endif +#include + #include "stdint.hpp" #include "options.hpp" @@ -40,8 +39,6 @@ namespace zmq class pgm_socket_t { -#ifdef ZMQ_HAVE_LINUX - public: // If receiver_ is true PGM transport is not generating SPM packets. // interface format: iface;mcast_group:port for raw PGM socket @@ -148,9 +145,9 @@ namespace zmq // Receiver transport uses 2 fd. enum {pgm_receiver_fd_count = 2}; -#endif }; } #endif #endif + -- cgit v1.2.3