Skip to content

ZMQ_HAVE_POLLER and ZMQ_BUILD_DRAFT_API #2540

Closed
@juan-filewave

Description

@juan-filewave

In zmq.h ZMQ_HAVE_POLLER is defined iff ZMQ_BUILD_DRAFT_API is defined. But in zmq_draft.h ZMQ_HAVE_POLLER is defined following the inverse logic, ie, iff ZMQ_BUILD_DRAFT_API is not defined.
For my usage in Windows, I'm interested into not having ZMQ_HAVE_POLLER defined and use poll (WSAPoll in windows.hpp), but I can't unless I modify the code, and I'm not sure to understand if ZMQ_HAVE_POLLER should be defined iff ZMQ_BUILD_DRAFT_API is defined, of the other way around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions