Commit 4dbd387f authored by Asmod4n's avatar Asmod4n Committed by GitHub

Add "draft" capability to zmq_has

As discussed in #2307
parent 4c1b3380
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment