diff options
author | davygrvy <davygrvy@noemail.net> | 2002-06-18 00:34:44 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2002-06-18 00:34:44 (GMT) |
commit | 36062c8386a36c0d60c4e238db1748647c5eb9ef (patch) | |
tree | f67fee15d8fd4b2f06a42cfa952519ed699c451b /win/rc | |
parent | d6eeceb0a981fedf2307725cee9d834ce33443a8 (diff) | |
download | tk-36062c8386a36c0d60c4e238db1748647c5eb9ef.zip tk-36062c8386a36c0d60c4e238db1748647c5eb9ef.tar.gz tk-36062c8386a36c0d60c4e238db1748647c5eb9ef.tar.bz2 |
Trims to support the removal of RESOURCE_INCLUDED from rc
scripts from Tcl's accepted FR #565088.
* generic/tk.h: Changed RESOURCE_INCLUDED to be RC_INVOKED
as the RC tool defines this already by default.
* win/rc/tk.rc:
* win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines.
FossilOrigin-Name: 0c8b9bb0f6730876e9f58441e6b211c83fb2ebbb
Diffstat (limited to 'win/rc')
-rw-r--r-- | win/rc/tk.rc | 10 | ||||
-rw-r--r-- | win/rc/wish.rc | 9 |
2 files changed, 4 insertions, 15 deletions
diff --git a/win/rc/tk.rc b/win/rc/tk.rc index bdca9cd..ff234be 100644 --- a/win/rc/tk.rc +++ b/win/rc/tk.rc @@ -1,17 +1,11 @@ -// RCS: @(#) $Id: tk.rc,v 1.8 2001/11/10 00:58:51 hobbs Exp $ +// RCS: @(#) $Id: tk.rc,v 1.9 2002/06/18 00:34:45 davygrvy Exp $ // // Version Resource Script // #include <windows.h> - -#define RESOURCE_INCLUDED #include <tk.h> -#define STRINGIFY1(x) #x -#define STRINGIFY(x) STRINGIFY1(x) - - // // build-up the name suffix that defines the type of build this is. // @@ -48,7 +42,7 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "Tk DLL\0" - VALUE "OriginalFilename", "tk" STRINGIFY(TK_MAJOR_VERSION) STRINGIFY(TK_MINOR_VERSION) SUFFIX ".dll\0" + VALUE "OriginalFilename", "tk" STRINGIFY(JOIN(TK_MAJOR_VERSION,TK_MINOR_VERSION)) SUFFIX ".dll\0" VALUE "CompanyName", "ActiveState Corporation\0" VALUE "FileVersion", TK_PATCH_LEVEL VALUE "LegalCopyright", "Copyright \251 2001 by ActiveState Corporation, et al\0" diff --git a/win/rc/wish.rc b/win/rc/wish.rc index d10a200..4a1eb99 100644 --- a/win/rc/wish.rc +++ b/win/rc/wish.rc @@ -1,16 +1,11 @@ -// RCS: @(#) $Id: wish.rc,v 1.7 2001/11/10 00:58:51 hobbs Exp $ +// RCS: @(#) $Id: wish.rc,v 1.8 2002/06/18 00:34:45 davygrvy Exp $ // // Version Resource Script // #include <windows.h> - -#define RESOURCE_INCLUDED #include <tk.h> -#define STRINGIFY1(x) #x -#define STRINGIFY(x) STRINGIFY1(x) - // // build-up the name suffix that defines the type of build this is. // @@ -53,7 +48,7 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "Wish Application\0" - VALUE "OriginalFilename", "wish" STRINGIFY(TK_MAJOR_VERSION) STRINGIFY(TK_MINOR_VERSION) SUFFIX ".exe\0" + VALUE "OriginalFilename", "wish" STRINGIFY(JOIN(TK_MAJOR_VERSION,TK_MINOR_VERSION)) SUFFIX ".exe\0" VALUE "CompanyName", "ActiveState Corporation\0" VALUE "FileVersion", TK_PATCH_LEVEL VALUE "LegalCopyright", "Copyright \251 2000 by ActiveState Corporation, et al\0" |