mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Changed some header file from djgpp to mingw32
svn path=/trunk/; revision=260
This commit is contained in:
parent
77ed4e360b
commit
38c0489092
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
int _unlink( const char *filename )
|
int _unlink( const char *filename )
|
||||||
{
|
{
|
||||||
if ( !DeleteFile(filename) )
|
if ( !DeleteFileA(filename) )
|
||||||
return -1;
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
size_t _write(int _fd, const void *_buf, size_t _nbyte)
|
size_t _write(int _fd, const void *_buf, size_t _nbyte)
|
||||||
{
|
{
|
||||||
size_t _wbyte;
|
size_t _wbyte;
|
||||||
if ( !WriteFile(_get_osfhandle(_fd),_buf,_nbyte,&_wbyte,NULL) ) {
|
if ( !WriteFile(_get_osfhandle(_fd),_buf,_nbyte,(DWORD *)&_wbyte,NULL) ) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return _wbyte;
|
return _wbyte;
|
||||||
|
|
Loading…
Reference in a new issue