2025-08-21 11:01:52 -04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
2013-07-04 16:56:19 -04:00
|
|
|
*
|
2025-08-21 11:01:52 -04:00
|
|
|
* (c) ZeroTier, Inc.
|
|
|
|
|
* https://www.zerotier.com/
|
2013-07-04 16:56:19 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _ZT_VERSION_H
|
|
|
|
|
#define _ZT_VERSION_H
|
|
|
|
|
|
|
|
|
|
/**
|
2013-12-30 16:52:34 -08:00
|
|
|
* Major version
|
2013-07-04 16:56:19 -04:00
|
|
|
*/
|
2014-10-05 10:34:25 -07:00
|
|
|
#define ZEROTIER_ONE_VERSION_MAJOR 1
|
2013-07-04 16:56:19 -04:00
|
|
|
|
|
|
|
|
/**
|
2013-12-30 16:52:34 -08:00
|
|
|
* Minor version
|
2013-07-04 16:56:19 -04:00
|
|
|
*/
|
2025-08-21 11:01:52 -04:00
|
|
|
#define ZEROTIER_ONE_VERSION_MINOR 16
|
2013-07-04 16:56:19 -04:00
|
|
|
|
|
|
|
|
/**
|
2013-12-30 16:52:34 -08:00
|
|
|
* Revision
|
2013-07-04 16:56:19 -04:00
|
|
|
*/
|
2025-12-12 14:17:21 -05:00
|
|
|
#define ZEROTIER_ONE_VERSION_REVISION 1
|
2013-07-04 16:56:19 -04:00
|
|
|
|
2017-01-18 09:16:23 -08:00
|
|
|
/**
|
|
|
|
|
* Build version
|
|
|
|
|
*
|
|
|
|
|
* This starts at 0 for each major.minor.rev tuple and can be incremented
|
|
|
|
|
* to force a minor update without an actual version number change. It's
|
|
|
|
|
* not part of the actual release version number.
|
|
|
|
|
*/
|
2019-07-31 16:41:35 -07:00
|
|
|
#define ZEROTIER_ONE_VERSION_BUILD 0
|
2017-01-18 09:16:23 -08:00
|
|
|
|
2017-03-14 14:40:17 -07:00
|
|
|
#ifndef ZT_BUILD_ARCHITECTURE
|
|
|
|
|
#define ZT_BUILD_ARCHITECTURE 0
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef ZT_BUILD_PLATFORM
|
|
|
|
|
#define ZT_BUILD_PLATFORM 0
|
|
|
|
|
#endif
|
|
|
|
|
|
2025-07-12 12:12:25 -07:00
|
|
|
#define _ZT_STR_HELPER(x) #x
|
|
|
|
|
#define _ZT_STR(x) _ZT_STR_HELPER(x)
|
|
|
|
|
#define ZEROTIER_ONE_VERSION_STR _ZT_STR(ZEROTIER_ONE_VERSION_MAJOR) "." _ZT_STR(ZEROTIER_ONE_VERSION_MINOR) "." _ZT_STR(ZEROTIER_ONE_VERSION_REVISION)
|
|
|
|
|
#define ZEROTIER_ONE_NAME "zerotier-one"
|
|
|
|
|
|
2013-07-04 16:56:19 -04:00
|
|
|
#endif
|