NetSurf
version.c
Go to the documentation of this file.
1/*
2 * Copyright 2011 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 prepended with 6000 so the version numbers below
22 * are same as NetSurf numbering.
23 * CI builds use themselves as the revision.
24 * This means releases have a higher revision than CI builds, and stops
25 * problems created by "0" not being a valid AmigaOS revision number.
26 */
27#define NETSURF_VERSION_MAJOR "3"
28#define NETSURF_VERSION_MINOR_EXTERNAL "12"
29#if defined(CI_BUILD)
30#define NETSURF_VERSION_MINOR CI_BUILD
31#else
32#define NETSURF_VERSION_MINOR "6000" NETSURF_VERSION_MINOR_EXTERNAL
33#endif
34
35static const __attribute__((used)) char *verstag = "\0$VER: NetSurf " NETSURF_VERSION_MAJOR "." NETSURF_VERSION_MINOR " (" WT_COMPILEDATE ")\0";
36const char * const verdate = WT_COMPILEDATE;
38const char * const wt_revid = WT_REVID;
39
static const __attribute__((used))
Definition: gui.c:359
const char *const wt_revid
const char *const verarexx
#define NETSURF_VERSION_MAJOR
Definition: version.c:27
#define NETSURF_VERSION_MINOR_EXTERNAL
Definition: version.c:28
#define NETSURF_VERSION_MINOR
Definition: version.c:32
const char *const verdate
Definition: gui_menu.c:93