diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.hpp | 5 | ||||
-rw-r--r-- | src/zmq.cpp | 6 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/config.hpp b/src/config.hpp index a0d5755..12e29ca 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -27,11 +27,6 @@ namespace zmq enum { - // Current version of 0MQ. - version_major = 0, - version_minor = 0, - version_patch = 0, - // Number of new messages in message pipe needed to trigger new memory // allocation. Setting this parameter to 256 decreases the impact of // memory allocation by approximately 99.6% diff --git a/src/zmq.cpp b/src/zmq.cpp index 609c8f2..e6f1a61 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -52,9 +52,9 @@ void zmq_version (int *major_, int *minor_, int *patch_) { - *major_ = zmq::version_major; - *minor_ = zmq::version_minor; - *patch_ = zmq::version_patch; + *major_ = PACKAGE_VERSION_MAJOR; + *minor_ = PACKAGE_VERSION_MINOR; + *patch_ = PACKAGE_VERSION_PATCH; } const char *zmq_strerror (int errnum_) |