X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/30ea5678e03e7aac49d7386093396ac0fffb8fb4..58c840dcc1810bfc5a7334fe29058d2b2c97cdaf:/windows/version.rc2 diff --git a/windows/version.rc2 b/windows/version.rc2 index 5bac1ca8..8474a62b 100644 --- a/windows/version.rc2 +++ b/windows/version.rc2 @@ -45,12 +45,16 @@ /* Make SVN_REV mandatory for snapshots, to avoid issuing binary * version numbers that look like full releases. */ -#if (!defined SVN_REV) || (SVN_REV == 0) +#ifndef SVN_REV #error SVN_REV not defined/nonzero for snapshot build #endif #define VERSION_TEXT "Development snapshot " STR(SNAPSHOT) ":r" STR(SVN_REV) +#ifdef MODIFIED +#define BINARY_VERSION 0,0,0,0 +#else #define BINARY_VERSION BASE_VERSION,SVN_REV,0 +#endif #elif defined RELEASE @@ -60,7 +64,11 @@ #elif defined SVN_REV #define VERSION_TEXT "Custom build r" STR(SVN_REV) +#ifdef MODIFIED +#define BINARY_VERSION 0,0,0,0 +#else #define BINARY_VERSION BASE_VERSION,SVN_REV,0 +#endif #else