* util/getroot_unix.c [__MINGW32__ || __CYGWIN__]:

Define dummy grub_util_pull_lvm_by_command to decrease number of #if's.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-09-23 12:06:00 +02:00
parent 5dd8205424
commit bca8873a0c
4 changed files with 19 additions and 3 deletions

View file

@ -119,9 +119,7 @@ grub_util_pull_device (const char *os_dev)
switch (ab)
{
case GRUB_DEV_ABSTRACTION_LVM:
#if !defined (__MINGW32__) && !defined (__CYGWIN__)
grub_util_pull_lvm_by_command (os_dev);
#endif
/* Fallthrough in case that lvm-tools are unavailable. */
case GRUB_DEV_ABSTRACTION_LUKS:
grub_util_pull_devmapper (os_dev);