* include/grub/util/misc.h: Add dummy function fsync for mingw.
* util/misc.c: Likewise.
+2009-04-04 Bean <bean123ch@gnail.com>
+
+ * include/grub/util/misc.h: Add dummy function fsync for mingw.
+
+ * util/misc.c: Likewise.
+
2009-04-04 Yoshinori K. Okuji <okuji@enbug.org>
* loader/i386/efi/linux.c (fake_bios_data): Use grub_dprintf
#define ftello ftello64
void sync (void);
+int fsync (int fno);
void sleep(int s);
grub_int64_t grub_util_get_disk_size (char *name);
{
}
+int fsync (int fno __attribute__ ((unused)))
+{
+ return 0;
+}
+
void sleep (int s)
{
Sleep (s * 1000);