1999-02-09 18:18:34 +03:00
|
|
|
/*
|
|
|
|
* PuTTY version numbering
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define STR1(x) #x
|
|
|
|
#define STR(x) STR1(x)
|
|
|
|
|
|
|
|
#if defined SNAPSHOT
|
|
|
|
|
|
|
|
char ver[] = "Development snapshot " STR(SNAPSHOT);
|
2001-03-15 15:15:02 +03:00
|
|
|
char sshver[] = "PuTTY-Snapshot-" STR(SNAPSHOT);
|
1999-02-09 18:18:34 +03:00
|
|
|
|
|
|
|
#elif defined RELEASE
|
|
|
|
|
|
|
|
char ver[] = "Release " STR(RELEASE);
|
2001-03-15 15:15:02 +03:00
|
|
|
char sshver[] = "PuTTY-Release-" STR(RELEASE);
|
1999-02-09 18:18:34 +03:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
char ver[] = "Unidentified build, " __DATE__ " " __TIME__;
|
2001-03-15 15:15:02 +03:00
|
|
|
char sshver[] = "PuTTY-Local: " __DATE__ " " __TIME__;
|
1999-02-09 18:18:34 +03:00
|
|
|
|
|
|
|
#endif
|
2001-03-15 15:15:02 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* SSH local version string MUST be under 40 characters. Here's a
|
|
|
|
* compile time assertion to verify this.
|
|
|
|
*/
|
|
|
|
enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };
|