0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Problem: test_capabilities fails on Windows when IPC support is available

Solution: Fix ifdef for expectation of IPC support
This commit is contained in:
Simon Giesecke 2019-12-06 19:42:42 +01:00
parent 76b7478290
commit cf7e0fb066

View File

@ -40,7 +40,7 @@ void tearDown ()
void test_capabilities ()
{
#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_OPENVMS)
#if defined(ZMQ_HAVE_IPC)
TEST_ASSERT_TRUE (zmq_has ("ipc"));
#else
TEST_ASSERT_TRUE (!zmq_has ("ipc"));