Commit a6a56e29 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2313 from Asmod4n/patch-1

Problem: cannot check if libzmq was build with draft api
parents 4c1b3380 4dbd387f
......@@ -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