mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-11 00:44:50 +01:00
Get AIX 6.1 compiling again by making msg_t class explicit
Older versions of gcc have problems with in-line forward declarations when there's a naming conflict with a global symbol. Signed-off-by: AJ Lewis <aj.lewis@quantum.com> Expand the original patch to all such forward declarations. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -29,11 +29,14 @@
|
||||
namespace zmq
|
||||
{
|
||||
|
||||
class ctx_t;
|
||||
class socket_base_t;
|
||||
|
||||
class reaper_t : public object_t, public i_poll_events
|
||||
{
|
||||
public:
|
||||
|
||||
reaper_t (class ctx_t *ctx_, uint32_t tid_);
|
||||
reaper_t (zmq::ctx_t *ctx_, uint32_t tid_);
|
||||
~reaper_t ();
|
||||
|
||||
mailbox_t *get_mailbox ();
|
||||
@@ -50,7 +53,7 @@ namespace zmq
|
||||
|
||||
// Command handlers.
|
||||
void process_stop ();
|
||||
void process_reap (class socket_base_t *socket_);
|
||||
void process_reap (zmq::socket_base_t *socket_);
|
||||
void process_reaped ();
|
||||
|
||||
// Reaper thread accesses incoming commands via this mailbox.
|
||||
|
||||
Reference in New Issue
Block a user