mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-22 16:02:31 +02:00
Problem: test_poller/use_fd_ipc/tcp use draft API
Solution: only use ZMQ_SERVER/CLIENT if the defines are available.
This commit is contained in:
@@ -124,6 +124,7 @@ void test_pair ()
|
||||
|
||||
void test_client_server ()
|
||||
{
|
||||
#if defined(ZMQ_SERVER) && defined(ZMQ_CLIENT)
|
||||
void *ctx = zmq_ctx_new ();
|
||||
assert (ctx);
|
||||
|
||||
@@ -200,6 +201,7 @@ void test_client_server ()
|
||||
|
||||
rc = unlink ("/tmp/tester");
|
||||
assert (rc == 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
int main (void)
|
||||
|
Reference in New Issue
Block a user