summaryrefslogtreecommitdiff
path: root/src/pgm_sender.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.com>2009-09-15 10:06:42 +0200
committerMartin Sustrik <sustrik@fastmq.com>2009-09-15 10:06:42 +0200
commit98b8e9b54dd8c67006422106b478a3a6eab07869 (patch)
tree51c4cf20098d20541913f4e62fa2ba07f551e3b3 /src/pgm_sender.hpp
parenta841774cbd6363e6ddccc7a56e9a97d1c1481a76 (diff)
parent3a3bcd337fb8000aef6c8f5ca3dd1b10475d7ab0 (diff)
Merge branch 'master' of github.com:sustrik/zeromq2
Diffstat (limited to 'src/pgm_sender.hpp')
-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