[Common-cvs] include rnver.h,1.18,1.19
svaidhya at helixcommunity.org svaidhya at helixcommunity.orgUpdate of /cvsroot/common/include In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv672 Modified Files: rnver.h Log Message: Synopsis ======= Fix for Bug 269356: [Win2k8 64 bit] Right click the exe -> properties -> Details show Product name as Helix Server: 32 bit instead of 64 bit for a 64 bit app Branches: HEAD, 14.2 Reviewer: Dean, Chytanya Description ========= The Details tab of properties dialog bix for installer showed the Producat name as Helix Server (32-bit) instead of 64 bit for 64-bit versions. The #define used to compute product name di nt consider 64-bit builds. Fixed it. Files Affected =========== ./common/include/hxver.h ./common/include/rnver.h Testing Performed ============== Unit Tests: - None Integration Tests: - Verified that the Produnct name shows as Helix Server (64-bit) for 64 bit versions - 32 bit is unaffected. Leak Tests: - None Performance Tests: - None Build verified: win-x86_64-vc10, win-x86-vc10 Platform tested : win-x86_64-vc10, win-x86-vc10 Index: rnver.h =================================================================== RCS file: /cvsroot/common/include/rnver.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- rnver.h 10 Mar 2009 19:24:54 -0000 1.18 +++ rnver.h 18 Feb 2011 19:05:53 -0000 1.19 @@ -126,7 +126,9 @@ #define STREND "\0" -#if defined(_WIN32) || defined(_UNIX) +#if defined(_WIN64) || defined(_LONG_IS_64) +#define STRPLATFORM " (64-bit) " +#elif defined(_WIN32) || defined(_UNIX) #define STRPLATFORM " (32-bit) " #elif defined(_WIN16) #define STRPLATFORM " (16-bit) "