mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
2009-07-01 Pavel Roskin <proski@gnu.org>
* util/hostdisk.c (device_is_wholedisk): Compile only on systems where it's needed.
This commit is contained in:
1 parent
999577f13c
commit
0df634200a
2 files changed
+5
No files matched your search
@@ -1,5 +1,8 @@
|
|||||||
2009-07-01 Pavel Roskin <proski@gnu.org>
|
2009-07-01 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* util/hostdisk.c (device_is_wholedisk): Compile only on systems
|
||||||
|
where it's needed.
|
||||||
|
|
||||||
* Makefile.in: Install include/grub/machine symlink.
|
* Makefile.in: Install include/grub/machine symlink.
|
||||||
|
|
||||||
* Makefile.in: When installing symlinks, use "cp -fR", which
|
* Makefile.in: When installing symlinks, use "cp -fR", which
|
||||||
|
|||||||
@@ -833,6 +833,7 @@ convert_system_partition_to_system_disk (const char *os_dev)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__linux__) || defined(__CYGWIN__)
|
||||||
static int
|
static int
|
||||||
device_is_wholedisk (const char *os_dev)
|
device_is_wholedisk (const char *os_dev)
|
||||||
{
|
{
|
||||||
@@ -842,6 +843,7 @@ device_is_wholedisk (const char *os_dev)
|
|||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
find_system_device (const char *os_dev)
|
find_system_device (const char *os_dev)
|
||||||
|
|||||||
Reference in new issue
Block a user