2009-04-04 Bean <bean123ch@gnail.com>
* include/grub/util/misc.h: Add dummy function fsync for mingw. * util/misc.c: Likewise.
This commit is contained in:
parent
54ad95559e
commit
da4c0bb629
3 changed files with 12 additions and 0 deletions
|
@ -370,6 +370,11 @@ void sync (void)
|
|||
{
|
||||
}
|
||||
|
||||
int fsync (int fno __attribute__ ((unused)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void sleep (int s)
|
||||
{
|
||||
Sleep (s * 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue