From 2cce45bb1c6f606862c243b0b7e7f033219bd41a Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 26 Aug 2008 13:15:04 +0000 Subject: [PATCH] 2008-08-26 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/common/hbver.c + Show bitness for all (non-DJGPP) compilers. ! Fixed to show "Windows Server 2003 / XP x64" when Windows 5.2 is detected. --- harbour/ChangeLog | 6 ++++++ harbour/source/common/hbver.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a3be23aa64..1164106a65 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,12 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-08-26 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/common/hbver.c + + Show bitness for all (non-DJGPP) compilers. + ! Fixed to show "Windows Server 2003 / XP x64" when + Windows 5.2 is detected. + 2008-08-26 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/compiler/hbmain.c ! Text casing fixed in some warning messages. diff --git a/harbour/source/common/hbver.c b/harbour/source/common/hbver.c index af6a4b7520..7bd2b6ae11 100644 --- a/harbour/source/common/hbver.c +++ b/harbour/source/common/hbver.c @@ -241,7 +241,7 @@ char * hb_verPlatform( void ) pszName = "Windows"; } else if( osVer.dwMajorVersion == 5 && osVer.dwMinorVersion >= 2 ) - pszName = "Windows Server 2003"; + pszName = "Windows Server 2003 / XP x64"; else if( osVer.dwMajorVersion == 5 && osVer.dwMinorVersion == 1 ) pszName = "Windows XP"; else if( osVer.dwMajorVersion == 5 ) @@ -528,7 +528,7 @@ char * hb_verCompiler( void ) snprintf( szSub, sizeof( szSub ), " (DJGPP %i.%02i)", ( int ) __DJGPP__, ( int ) __DJGPP_MINOR__ ); hb_strncat( pszCompiler, szSub, COMPILER_BUF_SIZE ); -#elif defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__GNUC__) +#else #if defined( HB_ARCH_16BIT ) hb_strncat( pszCompiler, " (16 bit)", COMPILER_BUF_SIZE );