]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - version.c
first pass
[PuTTY.git] / version.c
1 /*
2  * PuTTY version numbering
3  */
4
5 /*
6  * The difficult part of deciding what goes in these version strings
7  * is done in Buildscr, and then written into version.h. All we have
8  * to do here is to drop it into variables of the right names.
9  */
10
11 #ifdef SOURCE_COMMIT
12 #include "empty.h"
13 #endif
14
15 #include "version.h"
16
17 const char ver[] = TEXTVER;
18 const char sshver[] = SSHVER;
19 const char commitid[] = SOURCE_COMMIT;
20
21 /*
22  * SSH local version string MUST be under 40 characters. Here's a
23  * compile time assertion to verify this.
24  */
25 enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };