* grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here.
This commit is contained in:
parent
79f78fbf06
commit
2112fb3fef
3 changed files with 15 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...
|
||||||
|
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here.
|
||||||
|
|
||||||
2013-10-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-10-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/osdep/windows/sleep.c: Add missing config.h.
|
* grub-core/osdep/windows/sleep.c: Add missing config.h.
|
||||||
|
|
|
@ -152,12 +152,3 @@ grub_get_time_ms (void)
|
||||||
|
|
||||||
return (tv.tv_sec * 1000 + tv.tv_usec / 1000);
|
return (tv.tv_sec * 1000 + tv.tv_usec / 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
|
||||||
|
|
||||||
int fsync (int fno __attribute__ ((unused)))
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -255,3 +255,13 @@ canonicalize_file_name (const char *path)
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __MINGW32__
|
||||||
|
|
||||||
|
int fsync (int fno __attribute__ ((unused)))
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue