* include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define.
Migrate all explicit defines to this new one.
This commit is contained in:
parent
43b1c99d53
commit
bab7b1ebeb
4 changed files with 13 additions and 6 deletions
|
@ -161,7 +161,7 @@ grub_util_biosdisk_open (const char *name, grub_disk_t disk)
|
|||
&disk->log_sector_size);
|
||||
disk->total_sectors >>= disk->log_sector_size;
|
||||
|
||||
#if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined (__AROS__)
|
||||
#if GRUB_UTIL_FD_STAT_IS_FUNCTIONAL
|
||||
{
|
||||
struct stat st;
|
||||
# if GRUB_DISK_DEVS_ARE_CHAR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue