[zeromq-dev] [PATCH] Add VERSION macros
Martin Sustrik
sustrik at moloch.sk
Sat Oct 9 08:06:37 CEST 2010
On 10/06/2010 05:44 PM, gonzalo diethelm wrote:
> Martin, when do you plan to apply this patch (to both maint and master)?
> It would be great to have the mechanism in place; I think we can iron
> out any wrinkles later. Thanks!
>
Tha patch is applied to both maint and master. As advertised, the macros
look like this:
#define ZMQ_VERSION_MAJOR 2
#define ZMQ_VERSION_MINOR 1
#define ZMQ_VERSION_PATCH 0
#define ZMQ_MAKE_VERSION(major, minor, patch) \
(major * 10000 + minor * 100 + patch)
#define ZMQ_VERSION \
ZMQ_MAKE_VERSION(ZMQ_VERSION_MAJOR, ZMQ_VERSION_MINOR,
ZMQ_VERSION_PATCH)
Martin
More information about the zeromq-dev
mailing list