2007-11-27 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbwince.c
* disabled dummy GetDiskFreeSpaceA() overloading - it's not longer
necessary
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-11-27 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/common/hbwince.c
|
||||
* disabled dummy GetDiskFreeSpaceA() overloading - it's not longer
|
||||
necessary
|
||||
|
||||
2007-11-27 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/bin/hb-func.sh
|
||||
* inherit some parameters like -mlp{64,32}, -m{64,32} set in C_USR
|
||||
|
||||
@@ -65,18 +65,6 @@
|
||||
|
||||
#if defined(HB_WINCE)
|
||||
|
||||
#if defined(__MINGW32CE__) && 0
|
||||
clock_t clock( void )
|
||||
{
|
||||
SYSTEMTIME st;
|
||||
|
||||
GetLocalTime( &st );
|
||||
|
||||
return ( ( clock_t ) hb_dateEncode( st.wYear, st.wMonth, st.wDay ) - 2451545 ) * 86400000 +
|
||||
( ( st.wHour * 60 + st.wMinute ) * 60 + st.wSecond ) * 1000 + st.wMilliseconds;
|
||||
}
|
||||
#endif
|
||||
|
||||
int remove( const char *filename )
|
||||
{
|
||||
return DeleteFileA( filename ) ? 0 : -1;
|
||||
@@ -610,19 +598,6 @@ UINT WINAPI GetTempFileNameA( LPCSTR tmpdir, LPCSTR prefix, UINT unique, LPSTR f
|
||||
return u;
|
||||
}
|
||||
|
||||
BOOL WINAPI GetDiskFreeSpaceA( LPCSTR path, PDWORD pdwSectorsPerCluster,
|
||||
PDWORD pdwBytesPerSector,
|
||||
PDWORD pdwNumberOfFreeClusters, PDWORD pdwTotalNumberOfClusters )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( path );
|
||||
HB_SYMBOL_UNUSED( pdwSectorsPerCluster );
|
||||
HB_SYMBOL_UNUSED( pdwBytesPerSector );
|
||||
HB_SYMBOL_UNUSED( pdwNumberOfFreeClusters );
|
||||
HB_SYMBOL_UNUSED( pdwTotalNumberOfClusters );
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI Beep( DWORD dwFreq, DWORD dwDurat )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( dwFreq );
|
||||
@@ -722,6 +697,36 @@ BOOL WINAPI FloodFill( HDC h, int x, int y, COLORREF c )
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* functions which were overloaded but are not longer necessary
|
||||
*/
|
||||
#if 0
|
||||
#if defined(__MINGW32CE__)
|
||||
clock_t clock( void )
|
||||
{
|
||||
SYSTEMTIME st;
|
||||
|
||||
GetLocalTime( &st );
|
||||
|
||||
return ( ( clock_t ) hb_dateEncode( st.wYear, st.wMonth, st.wDay ) - 2451545 ) * 86400000 +
|
||||
( ( st.wHour * 60 + st.wMinute ) * 60 + st.wSecond ) * 1000 + st.wMilliseconds;
|
||||
}
|
||||
#endif
|
||||
|
||||
BOOL WINAPI GetDiskFreeSpaceA( LPCSTR path, PDWORD pdwSectorsPerCluster,
|
||||
PDWORD pdwBytesPerSector,
|
||||
PDWORD pdwNumberOfFreeClusters, PDWORD pdwTotalNumberOfClusters )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( path );
|
||||
HB_SYMBOL_UNUSED( pdwSectorsPerCluster );
|
||||
HB_SYMBOL_UNUSED( pdwBytesPerSector );
|
||||
HB_SYMBOL_UNUSED( pdwNumberOfFreeClusters );
|
||||
HB_SYMBOL_UNUSED( pdwTotalNumberOfClusters );
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
#endif /* 0 */
|
||||
|
||||
#endif /* HB_WINCE */
|
||||
|
||||
#endif /* HB_OS_WIN_32 */
|
||||
|
||||
Reference in New Issue
Block a user