Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: zeromq/czmq
base: 36f135cb5f
...
head fork: zeromq/czmq
compare: b001ff7a13
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 11 additions and 0 deletions.
  1. +11 −0 include/czmq.h
View
11 include/czmq.h
@@ -31,6 +31,17 @@
//
#include <czmq_prelude.h>
+// CZMQ version macros for compile-time API detection
+
+#define CZMQ_VERSION_MAJOR 1
+#define CZMQ_VERSION_MINOR 2
+#define CZMQ_VERSION_PATCH 0
+
+#define CZMQ_MAKE_VERSION(major, minor, patch) \
+ ((major) * 10000 + (minor) * 100 + (patch))
+#define CZMQ_VERSION \
+ CZMQ_MAKE_VERSION(CZMQ_VERSION_MAJOR, CZMQ_VERSION_MINOR, CZMQ_VERSION_PATCH)
+
// Classes listed in alphabetical order
#include <zclock.h>

No commit comments for this range

Something went wrong with that request. Please try again.