-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathversioninfo.h
76 lines (65 loc) · 2.85 KB
/
versioninfo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2004 Martin Scharpf, B. Braun Melsungen AG. All Rights Reserved.
// Copyright (C) 2002 Ultr@VNC Team Members. All Rights Reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
//
// If the source code for the program is not available from the place from
// which you received this file, check
// http://ultravnc.sourceforge.net/
/* versioninfo.h: Defines
STR_COMPANYNAME,
STR_FILEVERSION,
STR_PRODUCTVERSION,
STR_COPYRIGHT,
STR_SPECIALBUILD,
INT_FILEVERSION,
INT_PRODUCTVERSION */
#ifndef ULTRAVNC_VERSIONINFO_H
#define ULTRAVNC_VERSIONINFO_H
// ======================== Define Version here =======================
#define MAJ 1
#define MIN 0
#define V3 90
#define V4 0 // Used as ReleaseCandidate minor version in SpecialBuildDescription
// Set to 1 if ReleaseCandidate (toggles visibility of SpecialBuildDescription)
#define isRC 0
// =========== No further configuration needed below this line =================
// some helper macros (see http://http://gcc.gnu.org/onlinedocs/cpp/Stringification.html)
#define XSTR(x) STR(x)
#define STR(x) #x
// Concatenate tokens
#define CAT2(A,B) A.B
#define CAT4(A,B,C,D) A.B.C.D
#define INT_VERSION MAJ,MIN,V3,V4
#define STR_VERSION CAT4(MAJ,MIN,V3,V4)
#define STR_MAINVER CAT2(MAJ,MIN)
#define STR_RC_VERSION CAT2(V3,V4)
#define INT_FILEVERSION INT_VERSION
#define INT_PRODUCTVERSION INT_VERSION
#define STR_FILEVERSION XSTR(STR_VERSION) "\0"
#define STR_PRODUCTVERSION XSTR(STR_VERSION) "\0"
#define STR_COPYRIGHT "Copyright © 2002-2005 UltraVNC team members\0"
#define STR_SPECIALBUILD "v" XSTR(STR_MAINVER) " ReleaseCandidate " XSTR(STR_RC_VERSION) "\0"
#if isRC == 1
#define STR_ABOUT_SERVER_VERSION XSTR(UltraVNC Win32 Server v STR_MAINVER RC STR_RC_VERSION)
#define STR_ABOUT_VIEWER_VERSION XSTR(UltraVNC Win32 Viewer v STR_MAINVER RC STR_RC_VERSION)
#else
#define STR_ABOUT_SERVER_VERSION XSTR(UltraVNC Win32 Server v STR_VERSION)
#define STR_ABOUT_VIEWER_VERSION XSTR(UltraVNC Win32 Viewer v STR_VERSION)
#endif
#define STR_COMPANYNAME "UltraVNC\0"
#endif // ULTRAVNC_VERSIONINFO_H