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.
This commit is contained in:
Viktor Szakats
2008-07-03 19:54:58 +00:00
parent 8df28a8149
commit 7e7d04884f
2 changed files with 7 additions and 0 deletions

View File

@@ -8,6 +8,11 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
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.

View File

@@ -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 )