summaryrefslogtreecommitdiff
path: root/src/pgm_socket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pgm_socket.hpp')
-rw-r--r--src/pgm_socket.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp
index 6c67306..d89d19c 100644
--- a/src/pgm_socket.hpp
+++ b/src/pgm_socket.hpp
@@ -114,35 +114,19 @@ namespace zmq
pgm_msgv_t *pgm_msgv;
// How many bytes were read from pgm socket.
-#ifdef ZMQ_HAVE_OPENPGM1
- ssize_t nbytes_rec;
-#elif defined ZMQ_HAVE_OPENPGM2
size_t nbytes_rec;
-#endif
// How many bytes were processed from last pgm socket read.
-#ifdef ZMQ_HAVE_OPENPGM1
- ssize_t nbytes_processed;
-#elif defined ZMQ_HAVE_OPENPGM2
size_t nbytes_processed;
-#endif
// How many messages from pgm_msgv were already sent up.
-#ifdef ZMQ_HAVE_OPENPGM1
- ssize_t pgm_msgv_processed;
-#elif defined ZMQ_HAVE_OPENPGM2
size_t pgm_msgv_processed;
-#endif
// Size of pgm_msgv array.
size_t pgm_msgv_len;
// Sender transport uses 2 fd.
-#ifdef ZMQ_HAVE_OPENPGM1
- enum {pgm_sender_fd_count = 2};
-#elif ZMQ_HAVE_OPENPGM2
enum {pgm_sender_fd_count = 3};
-#endif
// Receiver transport uses 2 fd.
enum {pgm_receiver_fd_count = 2};