From 33afdcd1adccd19ebd9f4ec9cc6d23a37975d135 Mon Sep 17 00:00:00 2001 From: malosek Date: Thu, 24 Sep 2009 12:43:35 +0200 Subject: added --with-pgm2 into build system --- 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 6763167..b466b8c 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_OPENPGM +#if defined ZMQ_HAVE_OPENPGM1 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_OPENPGM +#if defined ZMQ_HAVE_OPENPGM1 if (addr_type == "pgm" || addr_type == "udp") { // If the socket type requires bi-directional communication -- cgit v1.2.3