NetSurf
version.c
Go to the documentation of this file.
1/*
2 * Copyright 2011,2024 Chris Young <chris@unsatisfactorysoftware.co.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#include "testament.h"
20
21/* Release revisions are suffixed with 99999 so the version numbers below
22 * are same as NetSurf numbering.
23 * CI builds use NetSurf revision + 0 + build number
24 * (the 0 will need to be removed when CI builds get up to five digits)
25 * This means releases and CI builds increment as expected, and stops
26 * problems created by "0" not being a valid AmigaOS revision number.
27 */
28#define NETSURF_VERSION_MAJOR "3"
29#define NETSURF_VERSION_MINOR_EXTERNAL "12"
30#if defined(CI_BUILD)
31#define NETSURF_VERSION_MINOR NETSURF_VERSION_MINOR_EXTERNAL "0" CI_BUILD
32#else
33#define NETSURF_VERSION_MINOR NETSURF_VERSION_MINOR_EXTERNAL "99999"
34#endif
35
36static const __attribute__((used)) char *verstag = "\0$VER: NetSurf " NETSURF_VERSION_MAJOR "." NETSURF_VERSION_MINOR " (" WT_COMPILEDATE ")\0";
37const char * const verdate = WT_COMPILEDATE;
39const char * const wt_revid = WT_REVID;
40
static const __attribute__((used))
Definition: gui.c:360
const char *const wt_revid
const char *const verarexx
#define NETSURF_VERSION_MAJOR
Definition: version.c:28
#define NETSURF_VERSION_MINOR_EXTERNAL
Definition: version.c:29
#define NETSURF_VERSION_MINOR
Definition: version.c:33
const char *const verdate
Definition: gui_menu.c:93