mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-25 10:09:12 +01:00
Win32 build fixed
This commit is contained in:
parent
2bb57ac57a
commit
a507d16e13
@ -21,6 +21,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "../bindings/c/zmq.h"
|
||||
|
||||
#include "tcp_connecter.hpp"
|
||||
#include "platform.hpp"
|
||||
#include "ip.hpp"
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "../bindings/c/zmq.h"
|
||||
|
||||
#include "tcp_listener.hpp"
|
||||
#include "platform.hpp"
|
||||
#include "ip.hpp"
|
||||
@ -39,7 +41,7 @@ zmq::tcp_listener_t::~tcp_listener_t ()
|
||||
close ();
|
||||
}
|
||||
|
||||
int zmq::tcp_listener_t::set_address (cosnt char *protocol_, const char *addr_)
|
||||
int zmq::tcp_listener_t::set_address (const char *protocol_, const char *addr_)
|
||||
{
|
||||
// IPC protocol is not supported on Windows platform.
|
||||
if (strcmp (protocol_, "tcp") != 0 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user