Use unix functions for temporary files and special files on cygwin.

This commit is contained in:
Vladimir Serbinenko 2013-12-16 13:16:37 +01:00
parent 37378f748a
commit 4f979ccbf1
3 changed files with 12 additions and 10 deletions

View file

@ -275,6 +275,10 @@ grub_util_get_mtime (const char *path)
return st.st_mtime;
}
#endif
#if defined (__CYGWIN__) || (!defined (__MINGW32__) && !defined (__AROS__))
int
grub_util_is_special_file (const char *path)
{