diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2f8db40147..ae44724ff4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-07-03 21:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * source/common/hbver.c + ! Fixed version detection to not break when compiling for WinCE. + ; Marek, thanks a lot. + 2008-07-03 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmzip/hbmzip.c * Temply disabled new OS/2 code to go on with the RC2 release. diff --git a/harbour/source/common/hbver.c b/harbour/source/common/hbver.c index 8378de1760..9a46e4de44 100644 --- a/harbour/source/common/hbver.c +++ b/harbour/source/common/hbver.c @@ -222,6 +222,7 @@ char * hb_verPlatform( void ) if( osVer.dwMajorVersion == 6 ) { +#if !defined(HB_WINCE) OSVERSIONINFOEXA osVerEx; osVerEx.dwOSVersionInfoSize = sizeof( osVerEx ); @@ -234,6 +235,7 @@ char * hb_verPlatform( void ) pszName = "Windows Server 2008"; } else +#endif pszName = "Windows"; } else if( osVer.dwMajorVersion == 5 && osVer.dwMinorVersion >= 2 )