mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Avoid passing modified SVN revision numbers (of the form 1234M) to
parts of the versioning code which might not like them. As a result of this checkin, bob builds from modified SVN working copies will still announce themselves as revision nnnnM in the textual version strings, but their binary version in the Windows VERSIONINFO will now be 0.0.0.0. [originally from svn r7231]
This commit is contained in:
@ -50,7 +50,11 @@
|
||||
#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
|
||||
|
||||
|
Reference in New Issue
Block a user