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