[Common-cvs] include hxver.h,1.27,1.28
svaidhya at helixcommunity.org svaidhya at helixcommunity.orgUpdate of /cvsroot/common/include In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv597 Modified Files: hxver.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: hxver.h =================================================================== RCS file: /cvsroot/common/include/hxver.h,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- hxver.h 28 Jan 2011 19:08:02 -0000 1.27 +++ hxver.h 18 Feb 2011 19:05:25 -0000 1.28 @@ -133,7 +133,9 @@ #define USER_AGENT_STRING "" // customize this #define USER_AGENT_POSTFIX "HelixDNAClient" // don't change this -#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) "