1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/version.c
Simon Tatham 3b1389a474 Added automatic version distinguishing code, to differentiate releases
from nightly builds from random development builds

[originally from svn r28]
1999-02-09 15:18:34 +00:00

21 lines
289 B
C

/*
* PuTTY version numbering
*/
#define STR1(x) #x
#define STR(x) STR1(x)
#if defined SNAPSHOT
char ver[] = "Development snapshot " STR(SNAPSHOT);
#elif defined RELEASE
char ver[] = "Release " STR(RELEASE);
#else
char ver[] = "Unidentified build, " __DATE__ " " __TIME__;
#endif