summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-15 09:57:11 +0200
committermalosek <malosek@fastmq.com>2009-09-15 09:57:11 +0200
commit3a3bcd337fb8000aef6c8f5ca3dd1b10475d7ab0 (patch)
treef8d5717515909bf8e44a331f98bae92ea2652182 /src
parentf44b215a60f50e8730a50522d7b9f2d5b4381d19 (diff)
pgm_sender code beautiication
Diffstat (limited to 'src')
-rw-r--r--src/pgm_sender.hpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/pgm_sender.hpp b/src/pgm_sender.hpp
index 2ad2a15..b1d1599 100644
--- a/src/pgm_sender.hpp
+++ b/src/pgm_sender.hpp
@@ -17,15 +17,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ZMQ_BP_PGM_SENDER_HPP_INCLUDED__
-#define __ZMQ_BP_PGM_SENDER_HPP_INCLUDED__
+#ifndef __ZMQ_PGM_SENDER_HPP_INCLUDED__
+#define __ZMQ_PGM_SENDER_HPP_INCLUDED__
#include "platform.hpp"
#if defined ZMQ_HAVE_OPENPGM
-#include <vector>
-
#include "stdint.hpp"
#include "io_object.hpp"
#include "i_engine.hpp"
@@ -83,14 +81,10 @@ namespace zmq
i_inout *inout;
// Output buffer from pgm_socket.
-#ifdef ZMQ_HAVE_WINDOWS
- unsigned char out_buffer [pgm_win_max_apdu];
-#else
unsigned char *out_buffer;
// Output buffer size.
size_t out_buffer_size;
-#endif
size_t write_size;
size_t write_pos;
@@ -103,7 +97,6 @@ namespace zmq
};
}
-
#endif
#endif