From 1ef56b3832cf65f903832e20bbfe172a82d48e88 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 12 Mar 2000 12:01:44 +0000 Subject: [PATCH] 20000312-13:04 GMT+1 Victor Szakats --- harbour/ChangeLog | 6 ++++++ harbour/source/rtl/gt/gtstd.c | 2 +- harbour/source/rtl/memofile.c | 4 ++-- harbour/source/rtl/set.c | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 7cb7228b9c..86e015af1d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,9 @@ +20000312-13:04 GMT+1 Victor Szakats + * source/rtl/set.c + source/rtl/memofile.c + source/rtl/gt/gtstd.c + ! HB_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE + 20000312-14:20 GMT+3 Alexander Kresin * contrib/rdd_ads/ads.ch * contrib/rdd_ads/adsfunc.c diff --git a/harbour/source/rtl/gt/gtstd.c b/harbour/source/rtl/gt/gtstd.c index f0f1c08e27..796b611b60 100644 --- a/harbour/source/rtl/gt/gtstd.c +++ b/harbour/source/rtl/gt/gtstd.c @@ -55,7 +55,7 @@ void hb_gt_Init( void ) s_iRow = 0; s_iCol = 0; -#if defined(HB_OS_UNIX_COMPATIBLE) +#if defined(OS_UNIX_COMPATIBLE) s_uiMaxRow = 24; #else s_uiMaxRow = 25; diff --git a/harbour/source/rtl/memofile.c b/harbour/source/rtl/memofile.c index a0432f2c2d..9c91270cab 100644 --- a/harbour/source/rtl/memofile.c +++ b/harbour/source/rtl/memofile.c @@ -56,7 +56,7 @@ HARBOUR HB_MEMOREAD( void ) /* Don't read the file terminating EOF character */ - #if ! defined(HB_OS_UNIX_COMPATIBLE) + #if ! defined(OS_UNIX_COMPATIBLE) { BYTE byEOF = HB_CHAR_NUL; @@ -101,7 +101,7 @@ HARBOUR HB_MEMOWRIT( void ) /* NOTE: CA-Clipper will add the EOF even if the write failed. [vszakats] */ /* NOTE: CA-Clipper will not return .F. when the EOF could not be written. [vszakats] */ - #if ! defined(HB_OS_UNIX_COMPATIBLE) + #if ! defined(OS_UNIX_COMPATIBLE) { BYTE byEOF = HB_CHAR_EOF; diff --git a/harbour/source/rtl/set.c b/harbour/source/rtl/set.c index 55eb444dfe..c969b8bb97 100644 --- a/harbour/source/rtl/set.c +++ b/harbour/source/rtl/set.c @@ -333,13 +333,13 @@ static FHANDLE open_handle( char * file_name, BOOL bAppend, char * def_ext, HB_s handle = hb_fsOpen( ( BYTE * ) path, FO_READWRITE | FO_DENYWRITE ); if( handle != FS_ERROR ) { /* Position to EOF */ - #if ! defined(HB_OS_UNIX_COMPATIBLE) + #if ! defined(OS_UNIX_COMPATIBLE) /* Non-Unix needs special binary vs. text file handling */ if( set_specifier == HB_SET_PRINTFILE ) { /* PRINTFILE is binary and needs no special handling. */ #endif hb_fsSeek( handle, 0, FS_END ); - #if ! defined(HB_OS_UNIX_COMPATIBLE) + #if ! defined(OS_UNIX_COMPATIBLE) } else { /* All other files are text files and may have an EOF