* grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...

* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-10-08 20:05:24 +02:00
1 parent 79f78fbf06
commit 2112fb3fef
3 files changed
+15 -9

No files matched your search

+5
View File
@@ -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>
* grub-core/osdep/windows/sleep.c: Add missing config.h.
-9
View File
@@ -152,12 +152,3 @@ grub_get_time_ms (void)
return (tv.tv_sec * 1000 + tv.tv_usec / 1000);
}
#ifdef __MINGW32__
int fsync (int fno __attribute__ ((unused)))
{
return 0;
}
#endif
+10
View File
@@ -255,3 +255,13 @@ canonicalize_file_name (const char *path)
#endif
return ret;
}
#ifdef __MINGW32__
int fsync (int fno __attribute__ ((unused)))
{
return 0;
}
#endif