summaryrefslogtreecommitdiffstats
path: root/modules/brotli/common/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/brotli/common/version.h')
-rw-r--r--modules/brotli/common/version.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/brotli/common/version.h b/modules/brotli/common/version.h
new file mode 100644
index 000000000..0d0d0c796
--- /dev/null
+++ b/modules/brotli/common/version.h
@@ -0,0 +1,26 @@
+/* Copyright 2016 Google Inc. All Rights Reserved.
+
+ Distributed under MIT license.
+ See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
+*/
+
+/* Version definition. */
+
+#ifndef BROTLI_COMMON_VERSION_H_
+#define BROTLI_COMMON_VERSION_H_
+
+/* This macro should only be used when library is compiled together with client.
+ If library is dynamically linked, use BrotliDecoderVersion and
+ BrotliEncoderVersion methods. */
+
+/* Semantic version, calculated as (MAJOR << 24) | (MINOR << 12) | PATCH */
+#define BROTLI_VERSION 0x1000007
+
+/* This macro is used by build system to produce Libtool-friendly soname. See
+ https://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
+ */
+
+/* ABI version, calculated as (CURRENT << 24) | (REVISION << 12) | AGE */
+#define BROTLI_ABI_VERSION 0x1007000
+
+#endif /* BROTLI_COMMON_VERSION_H_ */