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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user