2020-05-22 13:18:41 +00:00
|
|
|
/*
|
2024-01-06 19:51:42 +00:00
|
|
|
* Copyright (c) 2013-2024, The PurpleI2P Project
|
2020-05-22 13:18:41 +00:00
|
|
|
*
|
|
|
|
* This file is part of Purple i2pd project and licensed under BSD3
|
|
|
|
*
|
|
|
|
* See full license text in LICENSE file at top of project tree
|
|
|
|
*/
|
|
|
|
|
2014-08-17 05:09:15 +00:00
|
|
|
#ifndef _VERSION_H_
|
|
|
|
#define _VERSION_H_
|
|
|
|
|
2016-05-18 13:22:48 +00:00
|
|
|
#define CODENAME "Purple"
|
2015-12-06 21:46:42 +00:00
|
|
|
|
2023-02-26 20:38:23 +00:00
|
|
|
#define XSTRINGIZE(x) STRINGIZE(x)
|
2015-12-06 21:46:42 +00:00
|
|
|
#define STRINGIZE(x) #x
|
2023-02-26 20:38:23 +00:00
|
|
|
|
2015-12-06 21:46:42 +00:00
|
|
|
#define MAKE_VERSION(a,b,c) STRINGIZE(a) "." STRINGIZE(b) "." STRINGIZE(c)
|
2020-05-20 18:59:18 +00:00
|
|
|
#define MAKE_VERSION_NUMBER(a,b,c) ((a*100+b)*100+c)
|
2015-12-06 21:46:42 +00:00
|
|
|
|
|
|
|
#define I2PD_VERSION_MAJOR 2
|
2023-12-17 16:07:10 +00:00
|
|
|
#define I2PD_VERSION_MINOR 50
|
2024-01-06 19:51:42 +00:00
|
|
|
#define I2PD_VERSION_MICRO 2
|
2015-12-06 21:46:42 +00:00
|
|
|
#define I2PD_VERSION_PATCH 0
|
2021-10-22 02:28:59 +00:00
|
|
|
#ifdef GITVER
|
2023-02-26 20:38:23 +00:00
|
|
|
#define I2PD_VERSION XSTRINGIZE(GITVER)
|
2021-10-22 02:28:59 +00:00
|
|
|
#else
|
|
|
|
#define I2PD_VERSION MAKE_VERSION(I2PD_VERSION_MAJOR, I2PD_VERSION_MINOR, I2PD_VERSION_MICRO)
|
|
|
|
#endif
|
|
|
|
|
2015-12-06 21:46:42 +00:00
|
|
|
#define VERSION I2PD_VERSION
|
2016-06-27 13:47:53 +00:00
|
|
|
|
2016-01-16 20:36:30 +00:00
|
|
|
#define I2PD_NET_ID 2
|
2015-12-06 21:46:42 +00:00
|
|
|
|
|
|
|
#define I2P_VERSION_MAJOR 0
|
|
|
|
#define I2P_VERSION_MINOR 9
|
2023-12-17 16:07:10 +00:00
|
|
|
#define I2P_VERSION_MICRO 61
|
2015-12-06 21:46:42 +00:00
|
|
|
#define I2P_VERSION_PATCH 0
|
|
|
|
#define I2P_VERSION MAKE_VERSION(I2P_VERSION_MAJOR, I2P_VERSION_MINOR, I2P_VERSION_MICRO)
|
2020-05-20 18:59:18 +00:00
|
|
|
#define I2P_VERSION_NUMBER MAKE_VERSION_NUMBER(I2P_VERSION_MAJOR, I2P_VERSION_MINOR, I2P_VERSION_MICRO)
|
2014-08-17 05:09:15 +00:00
|
|
|
|
|
|
|
#endif
|