See ChangeLog entry 19990911-20:25 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-09-12 02:38:24 +00:00
parent 73e1c648fa
commit 9e867c7ed1
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
19990911-20:25 EDT David G. Holm <dholm@jsd-llc.com>
* source/rtl/tone.c
! Added '|| defined(__CYGWIN__)' to the #if block for HARBOUR_GCC_OS2
and _Windows for calculating the value for temp for each pass of the
tone duration timing loop.
19990911-07:42 EDT Paul Tucker <ptucker@sympatico.ca>
* makefile.vc
added new files for compiler to exe generation section

View File

@@ -158,7 +158,7 @@ void hb_tone( double frequency, double duration )
#endif
while( duration > 0.0 )
{
#if defined(HARBOUR_GCC_OS2) || defined(_Windows)
#if defined(HARBOUR_GCC_OS2) || defined(_Windows) || defined(__CYGWIN__)
temp = MIN( MAX ( 0, duration ), ULONG_MAX );
#elif defined(OS2) || defined(__BORLANDC__) || defined(__DJGPP__)
temp = MIN( MAX ( 0, duration ), USHRT_MAX );