20000322-14:05

This commit is contained in:
Paul Tucker
2000-03-22 19:05:51 +00:00
parent 1bc1f06b90
commit 1e3eeee7d1
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
20000322-14:05 EST Paul Tucker <ptucker@sympatico.ca>
* source/rtl/diskspac.c
* made the msc and __gnuc__ branch the same.
* the diff is now for borland.
* add a note.
20000322-16:33 GMT+1 Victor Szakats <info@szelvesz.hu>
- include/hbclip.ch

View File

@@ -161,7 +161,7 @@ HB_FUNC( DISKSPACE )
memcpy( &i64RetVal, &i64TotalBytes, sizeof( ULARGE_INTEGER ) );
}
#if defined(__GNUC__)
#if defined(__GNUC__) || defined( _MSC_VER)
/* NOTE: In Cygwin/Mingw32 (egcs-2.91.57) the declaration for
ULARGE_INTEGER differs from the MS standard.
@@ -181,6 +181,9 @@ HB_FUNC( DISKSPACE )
}
#else
/* NOTE: Borland doesn't seem to deal with the un-named
struct that is part of ULARGE_INTEGER
[pt] */
dSpace = ( double ) i64RetVal.u.HighPart +
( double ) i64RetVal.u.HighPart *