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