X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=version.c;h=da7e11ca725590c9d2565d32847b7774c91a9f47;hb=49d2cf19accb059b3b68d1fc2b78e606a578c3e8;hp=c39709cd8a657932128d5c0321f9ea4084a19825;hpb=080d59422b49e14320de33bb0b22a6b93ddb07bf;p=PuTTY.git diff --git a/version.c b/version.c index c39709cd..da7e11ca 100644 --- a/version.c +++ b/version.c @@ -7,8 +7,16 @@ #if defined SNAPSHOT -char ver[] = "Development snapshot " STR(SNAPSHOT); -char sshver[] = "PuTTY-Snapshot-" STR(SNAPSHOT); +#if defined SVN_REV +#define SNAPSHOT_TEXT STR(SNAPSHOT) ":r" STR(SVN_REV) +#else +#define SNAPSHOT_TEXT STR(SNAPSHOT) +#endif + +char ver[] = "Development snapshot " SNAPSHOT_TEXT; +char sshver[] = "PuTTY-Snapshot-" SNAPSHOT_TEXT; + +#undef SNAPSHOT_TEXT #elif defined RELEASE