mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-16 18:56:56 +02:00
Problem: version detection broken, confuses libzmq and cppzmq versions
Solution: Fix version detection and cmake syntax errors Fixes #182
This commit is contained in:
7
zmq.hpp
7
zmq.hpp
@@ -53,6 +53,13 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
/* Version macros for compile-time API version detection */
|
||||
#define CPPZMQ_VERSION_MAJOR 4
|
||||
#define CPPZMQ_VERSION_MINOR 3
|
||||
#define CPPZMQ_VERSION_PATCH 0
|
||||
|
||||
#define CPPZMQ_VERSION \
|
||||
ZMQ_MAKE_VERSION (CPPZMQ_VERSION_MAJOR, CPPZMQ_VERSION_MINOR, CPPZMQ_VERSION_PATCH)
|
||||
|
||||
#ifdef ZMQ_CPP11
|
||||
#include <chrono>
|
||||
|
Reference in New Issue
Block a user