From ef8e02991c5ab32ce5666b09aa08cac49dcd5532 Mon Sep 17 00:00:00 2001 From: "David G. Holm" Date: Thu, 4 Oct 2001 21:18:47 +0000 Subject: [PATCH] 2001-10-04 17:10 UTC-0400 David G. Holm --- harbour/ChangeLog | 7 +++++++ harbour/doc/gmake.txt | 2 ++ harbour/source/rtl/filesys.c | 3 ++- harbour/source/rtl/idle.c | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f567d7efff..da69f4ac10 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,10 @@ +2001-10-04 17:10 UTC-0400 David G. Holm + + * doc/gmake.txt + * source/rtl/filesys.c + * source/rtl/idle.c + ! Cygwin fixes. + 2001-10-03 17:30 UTC-0400 David G. Holm * source/rtl/isprint.c diff --git a/harbour/doc/gmake.txt b/harbour/doc/gmake.txt index ada850df79..6c1a493ab5 100644 --- a/harbour/doc/gmake.txt +++ b/harbour/doc/gmake.txt @@ -143,6 +143,8 @@ For gcc on Win95/WinNT with the Cygwin library: HB_COMPILER gcc HB_GT_LIB gtwin CYGWIN noglob + C_USR -mwin32 + L_USR -mwin32 For gcc on Win95/WinNT with the Mingw32 library: HB_ARCHITECTURE w32 diff --git a/harbour/source/rtl/filesys.c b/harbour/source/rtl/filesys.c index 82719c2165..f07c114c99 100644 --- a/harbour/source/rtl/filesys.c +++ b/harbour/source/rtl/filesys.c @@ -690,7 +690,8 @@ ULONG hb_fsReadLarge( FHANDLE hFileHandle, BYTE * pBuff, ULONG ulCount ) errno = 0; - #if defined(X__WIN32__){ + #if defined(X__WIN32__) + { BOOL bError; bError=ReadFile( ( HANDLE ) hFileHandle, pBuff, ulCount, &ulRead, NULL ); if (!bError) diff --git a/harbour/source/rtl/idle.c b/harbour/source/rtl/idle.c index 0e0a82f816..1b403a03c7 100644 --- a/harbour/source/rtl/idle.c +++ b/harbour/source/rtl/idle.c @@ -98,7 +98,7 @@ static void hb_releaseCPU( void ) /* TODO: Add code to release time slices on all platforms */ -#if defined(HB_OS_WIN_32) +#if defined(HB_OS_WIN_32) || defined(__CYGWIN__) /* Forfeit the remainder of the current time slice. */ Sleep( 20 );