mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-05 20:57:40 +01:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user