2008-08-25 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* source/common/hbver.c
     ! Fix to commit '2008-07-11 18:20 UTC+0200' which 
       effectively disabled Vista/2008 detection for 
       everything but MSVC (>1400) compilers.
This commit is contained in:
Viktor Szakats
2008-08-25 16:29:01 +00:00
parent 632b1ad7e1
commit 7ecef08518
2 changed files with 7 additions and 6 deletions

View File

@@ -8,6 +8,12 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-08-25 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
! Fix to commit '2008-07-11 18:20 UTC+0200' which
effectively disabled Vista/2008 detection for
everything but MSVC (>1400) compilers.
2008-08-25 17:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* common.mak
* utils/hbmake/Makefile

View File

@@ -224,10 +224,7 @@ char * hb_verPlatform( void )
if( osVer.dwMajorVersion == 6 )
{
#if !defined(HB_WINCE)
#if defined(_MSC_VER)
#if (_MSC_VER >= 1400)
#if !defined(HB_WINCE) && (!defined(_MSC_VER) || _MSC_VER >= 1400)
OSVERSIONINFOEXA osVerEx;
osVerEx.dwOSVersionInfoSize = sizeof( osVerEx );
@@ -240,8 +237,6 @@ char * hb_verPlatform( void )
pszName = "Windows Server 2008";
}
else
#endif
#endif
#endif
pszName = "Windows";
}