2001-02-23 19:35 UTC+0300 Alex Shashkov <shashkov@ostu.ru>

* harbour/source/rtl/filesys.c
   * harbour/source/vm/item.c
     ! Fixed support for Watcom C 11.0
This commit is contained in:
Alex Shashkov
2001-02-23 16:48:40 +00:00
parent 41405ddc55
commit b21688d42a
3 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2001-02-23 19:35 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* harbour/source/rtl/filesys.c
* harbour/source/rtl/math.c
* harbour/source/vm/item.c
! Fixed support for Watcom C 11.0
2001-02-23 08:25 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
+ Added support for DO <>.prg

View File

@@ -193,7 +193,7 @@ static USHORT s_uiErrorLast = 0;
#define HB_FS_FILE_IO
#endif
#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__IBMCPP__)
#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__IBMCPP__) || defined(__WATCOMC__)
/* These compilers use sopen() rather than open(), because their
versions of open() do not support combined O_ and SH_ flags */
#define HB_FS_SOPEN

View File

@@ -1299,7 +1299,8 @@ char * hb_itemStr( PHB_ITEM pNumber, PHB_ITEM pWidth, PHB_ITEM pDec )
{
double dNumber = hb_itemGetND( pNumber );
#ifndef __BORLANDC__
#if defined(__BORLANDC__) || defined(__WATCOMC__)
#else
static double s_dInfinity = 0;
static double s_bInfinityInit = FALSE;
@@ -1311,7 +1312,7 @@ char * hb_itemStr( PHB_ITEM pNumber, PHB_ITEM pWidth, PHB_ITEM pDec )
#endif
if( pNumber->item.asDouble.length == 99
#if defined(__BORLANDC__)
#if defined(__BORLANDC__) || defined(__WATCOMC__)
/* No more checks for Borland C, which returns 0 for log( 0 ),
and is therefore unable to test for infinity */
#else