mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 10:18:01 +08:00
parent
4c1b338015
commit
4dbd387fa9
@ -1516,6 +1516,10 @@ int zmq_has (const char *capability)
|
|||||||
#if defined (ZMQ_HAVE_VMCI)
|
#if defined (ZMQ_HAVE_VMCI)
|
||||||
if (strcmp (capability, "vmci") == 0)
|
if (strcmp (capability, "vmci") == 0)
|
||||||
return true;
|
return true;
|
||||||
|
#endif
|
||||||
|
#if defined (ZMQ_BUILD_DRAFT_API)
|
||||||
|
if (strcmp (capability, "draft") == 0)
|
||||||
|
return true;
|
||||||
#endif
|
#endif
|
||||||
// Whatever the application asked for, we don't have
|
// Whatever the application asked for, we don't have
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user