summaryrefslogtreecommitdiffstats
path: root/version.h.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:44:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:44:33 +0000
commitb196c6498d22e47bb9d0da0153068ec54eac7956 (patch)
tree1a994a492581e93224a7ee6455f5d4e9d2ec8e59 /version.h.in
parentInitial commit. (diff)
downloadopentracing-cpp-b196c6498d22e47bb9d0da0153068ec54eac7956.tar.xz
opentracing-cpp-b196c6498d22e47bb9d0da0153068ec54eac7956.zip
Adding upstream version 1.6.0.upstream/1.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--version.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/version.h.in b/version.h.in
new file mode 100644
index 0000000..8143f5d
--- /dev/null
+++ b/version.h.in
@@ -0,0 +1,14 @@
+#ifndef OPENTRACING_VERSION_H
+#define OPENTRACING_VERSION_H
+
+#define OPENTRACING_VERSION "${OPENTRACING_VERSION_STRING}"
+#define OPENTRACING_ABI_VERSION "${OPENTRACING_ABI_VERSION}"
+
+// clang-format off
+#define BEGIN_OPENTRACING_ABI_NAMESPACE \
+ inline namespace v${OPENTRACING_ABI_VERSION} {
+#define END_OPENTRACING_ABI_NAMESPACE \
+ } // namespace v${OPENTRACING_ABI_VERSION}
+// clang-format on
+
+#endif // OPENTRACING_VERSION_H