From 2363bb5476772d84a81dce759ad95b375bd7bfe7 Mon Sep 17 00:00:00 2001 From: Eric Mullins Date: Fri, 2 Oct 2009 20:47:01 -0600 Subject: [PATCH] Simplified future version changes. Added a numeric version to config.h that is now used in winboard.rc instead of being hard-coded there. Just be sure to preserve the proper format (4 comma-separated 16 bit integers) or else it won't compile. --- winboard/config.h | 3 +++ winboard/winboard.rc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/winboard/config.h b/winboard/config.h index 6a73eda..4ec13b0 100644 --- a/winboard/config.h +++ b/winboard/config.h @@ -54,6 +54,9 @@ /* Define to the version of this package. */ #define PACKAGE_VERSION "4.4.1.pre" +/* Define the Windows-specific FILE version info. this *MUST* be four comma separated 16-bit integers */ +#define PACKAGE_FILEVERSION 4,4,1,0 + #define PTY_ITERATION #define PTY_NAME_SPRINTF diff --git a/winboard/winboard.rc b/winboard/winboard.rc index 4d63c78..b3d74f3 100644 --- a/winboard/winboard.rc +++ b/winboard/winboard.rc @@ -2097,8 +2097,8 @@ WIN WAVE DISCARDABLE "sounds/win.wav" // Version // 1 VERSIONINFO -FILEVERSION 4,4,0,0 -PRODUCTVERSION 4,4,0,0 +FILEVERSION PACKAGE_FILEVERSION +PRODUCTVERSION PACKAGE_FILEVERSION FILETYPE VFT_APP { BLOCK "StringFileInfo" -- 1.7.0.4