* 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:
Vladimir 'phcoder' Serbinenko committed 2013-09-24 19:17:24 +02:00
1 parent 43b1c99d53
commit bab7b1ebeb
4 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -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