From cf6cc0128ff4d26e0059f399bbb8342ce259b996 Mon Sep 17 00:00:00 2001 From: malosek Date: Fri, 25 Sep 2009 17:50:12 +0200 Subject: pgm2 receiver working (partly) --- src/socket_base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/socket_base.cpp') diff --git a/src/socket_base.cpp b/src/socket_base.cpp index b466b8c..6763167 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -93,7 +93,7 @@ int zmq::socket_base_t::bind (const char *addr_) return 0; } -#if defined ZMQ_HAVE_OPENPGM1 +#if defined ZMQ_HAVE_OPENPGM if (addr_type == "pgm" || addr_type == "udp") { // In the case of PGM bind behaves the same like connect. return connect (addr_); @@ -179,7 +179,7 @@ int zmq::socket_base_t::connect (const char *addr_) return 0; } -#if defined ZMQ_HAVE_OPENPGM1 +#if defined ZMQ_HAVE_OPENPGM if (addr_type == "pgm" || addr_type == "udp") { // If the socket type requires bi-directional communication -- cgit v1.2.3