source: filezilla/trunk/fuentes/src/putty/version.c @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 896 bytes
Line 
1/*
2 * PuTTY version numbering
3 */
4
5#define STR1(x) #x
6#define STR(x) STR1(x)
7
8#if defined SNAPSHOT
9
10#if defined SVN_REV
11#define SNAPSHOT_TEXT STR(SNAPSHOT) ":r" STR(SVN_REV)
12#else
13#define SNAPSHOT_TEXT STR(SNAPSHOT)
14#endif
15
16char ver[] = "Development snapshot " SNAPSHOT_TEXT;
17char sshver[] = "PuTTY-Snapshot-" SNAPSHOT_TEXT;
18
19#undef SNAPSHOT_TEXT
20
21#elif defined RELEASE
22
23char ver[] = "Release " STR(RELEASE);
24char sshver[] = "PuTTY-Release-" STR(RELEASE);
25
26#elif defined SVN_REV
27
28char ver[] = "Custom build r" STR(SVN_REV) ", " __DATE__ " " __TIME__;
29char sshver[] = "PuTTY-Custom-r" STR(SVN_REV);
30
31#else
32
33char ver[] = "Unidentified build, " __DATE__ " " __TIME__;
34char sshver[] = "PuTTY-Local: " __DATE__ " " __TIME__;
35
36#endif
37
38/*
39 * SSH local version string MUST be under 40 characters. Here's a
40 * compile time assertion to verify this.
41 */
42enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };
Note: See TracBrowser for help on using the repository browser.