* util/ieee1275/ofpath.c (grub_util_devname_to_ofpath) [_WIN32]:
Replace with a dummy.
This commit is contained in:
parent
7dc5ca13c5
commit
8c8c87b7d4
2 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/ieee1275/ofpath.c (grub_util_devname_to_ofpath) [_WIN32]:
|
||||
Replace with a dummy.
|
||||
|
||||
2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* configure.ac: Don't change host_os from mingw to cygwin.
|
||||
|
|
|
@ -70,6 +70,8 @@ grub_util_info (const char *fmt, ...)
|
|||
#define xstrdup strdup
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
static void
|
||||
kill_trailing_dir(char *path)
|
||||
{
|
||||
|
@ -532,6 +534,16 @@ grub_util_devname_to_ofpath (const char *sys_devname)
|
|||
return ofpath;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
char *
|
||||
grub_util_devname_to_ofpath (const char *sys_devname __attribute__ ((unused)))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef OFPATH_STANDALONE
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue