fixed bug in unlink.c

svn path=/trunk/; revision=256
This commit is contained in:
Boudewijn Dekker 1999-02-21 09:02:18 +00:00
parent 4ad5db5d9c
commit 2c7fb0c72e

View file

@ -10,14 +10,10 @@
#include <windows.h>
#include <io.h>
int unlink( const char *filename )
{
return _unlink(filename);
}
int _unlink( const char *filename )
{
if ( !DeleteFile(filename) )
return -1;
return 0;
}
}