mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/kern/emu/misc.c (fsync) [__MINGW32__]: Move to ...
* grub-core/osdep/windows/hostdisk.c (fsync) [__MINGW32__]: ... here.
This commit is contained in:
1 parent
79f78fbf06
commit
2112fb3fef
3 files changed
+15
-9
No files matched your search
@@ -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
|
||||||
Reference in new issue
Block a user