* util/ieee1275/ofpath.c (grub_util_devname_to_ofpath) [_WIN32]:

Replace with a dummy.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-22 17:29:23 +02:00
parent 7dc5ca13c5
commit 8c8c87b7d4
2 changed files with 17 additions and 0 deletions

View file

@ -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> 2013-08-22 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Don't change host_os from mingw to cygwin. * configure.ac: Don't change host_os from mingw to cygwin.

View file

@ -70,6 +70,8 @@ grub_util_info (const char *fmt, ...)
#define xstrdup strdup #define xstrdup strdup
#endif #endif
#ifndef _WIN32
static void static void
kill_trailing_dir(char *path) kill_trailing_dir(char *path)
{ {
@ -532,6 +534,16 @@ grub_util_devname_to_ofpath (const char *sys_devname)
return ofpath; return ofpath;
} }
#else
char *
grub_util_devname_to_ofpath (const char *sys_devname __attribute__ ((unused)))
{
return NULL;
}
#endif
#ifdef OFPATH_STANDALONE #ifdef OFPATH_STANDALONE
int main(int argc, char **argv) int main(int argc, char **argv)
{ {