2009-09-02 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/common/hbver.c
    ! added additional hack for conditional code used for Windows detection
      to work with VC98.
      Viktor please verify it but this condition:
         ( !defined( _MSC_VER ) || _MSC_VER >= 1400 )
      was not enough.
This commit is contained in:
Przemyslaw Czerpak
2009-09-02 17:26:55 +00:00
parent 2292b1a503
commit 0a8980a100
2 changed files with 11 additions and 1 deletions

View File

@@ -17,6 +17,14 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-02 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbver.c
! added additional hack for conditional code used for Windows detection
to work with VC98.
Viktor please verify it but this condition:
( !defined( _MSC_VER ) || _MSC_VER >= 1400 )
was not enough.
2009-09-02 17:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netio.h
* added small description

View File

@@ -296,7 +296,9 @@ char * hb_verPlatform( void )
if( osVer.dwMajorVersion == 6 )
{
#if !defined( HB_OS_WIN_CE ) && !defined( __DMC__ ) && ( !defined( _MSC_VER ) || _MSC_VER >= 1400 )
#if !defined( HB_OS_WIN_CE ) && !defined( __DMC__ ) && \
( !defined( _MSC_VER ) || _MSC_VER >= 1400 ) && \
defined( VER_NT_WORKSTATION )
OSVERSIONINFOEXA osVerEx;
osVerEx.dwOSVersionInfoSize = sizeof( osVerEx );