mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Problem: build broken on debian/hurd
Solution: fix it
This commit is contained in:
parent
e58f047791
commit
2347a76413
@ -1401,7 +1401,6 @@ if ON_GNU
|
|||||||
XFAIL_TESTS += tests/test_ipc_wildcard \
|
XFAIL_TESTS += tests/test_ipc_wildcard \
|
||||||
tests/test_reqrep_ipc \
|
tests/test_reqrep_ipc \
|
||||||
tests/test_pair_ipc \
|
tests/test_pair_ipc \
|
||||||
tests/test_rebind_ipc \
|
|
||||||
tests/test_term_endpoint
|
tests/test_term_endpoint
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -67,6 +67,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#define PATH_MAX 1024
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *SEQ_END = (const char *) 1;
|
const char *SEQ_END = (const char *) 1;
|
||||||
|
|
||||||
const char bounce_content[] = "12345678ABCDEFGH12345678abcdefgh";
|
const char bounce_content[] = "12345678ABCDEFGH12345678abcdefgh";
|
||||||
|
@ -298,7 +298,7 @@ void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_)
|
|||||||
test_bind (socket_, "tipc://<*>", my_endpoint_, len_);
|
test_bind (socket_, "tipc://<*>", my_endpoint_, len_);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ZMQ_HAVE_IPC) && !defined(ZMQ_HAVE_GNU)
|
#if defined(ZMQ_HAVE_IPC)
|
||||||
void make_random_ipc_endpoint (char *out_endpoint_)
|
void make_random_ipc_endpoint (char *out_endpoint_)
|
||||||
{
|
{
|
||||||
#ifdef ZMQ_HAVE_WINDOWS
|
#ifdef ZMQ_HAVE_WINDOWS
|
||||||
|
@ -272,7 +272,7 @@ void bind_loopback_ipc (void *socket_, char *my_endpoint_, size_t len_);
|
|||||||
// Binds to an ipc endpoint using the tipc wildcard address.
|
// Binds to an ipc endpoint using the tipc wildcard address.
|
||||||
void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_);
|
void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_);
|
||||||
|
|
||||||
#if defined(ZMQ_HAVE_IPC) && !defined(ZMQ_HAVE_GNU)
|
#if defined(ZMQ_HAVE_IPC)
|
||||||
// utility function to create a random IPC endpoint, similar to what a ipc://*
|
// utility function to create a random IPC endpoint, similar to what a ipc://*
|
||||||
// wildcard binding does, but in a way it can be reused for multiple binds
|
// wildcard binding does, but in a way it can be reused for multiple binds
|
||||||
// TODO also add a len parameter here
|
// TODO also add a len parameter here
|
||||||
|
Loading…
Reference in New Issue
Block a user