* grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix.

* grub-core/kern/emu/hostfs.c: Likewise.
	* util/getroot_unix.c: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-09-24 19:19:31 +02:00
parent bab7b1ebeb
commit 30b7f58f4e
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2013-09-24 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix.
* grub-core/kern/emu/hostfs.c: Likewise.
* util/getroot_unix.c: Likewise.
2013-09-24 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define.

View File

@ -43,7 +43,7 @@
#include <errno.h>
#include <limits.h>
#if !defined (__CYGWIN__) && !defined (__MINGW32__)
#if !defined (__CYGWIN__) && !defined (__MINGW32__) && !defined (__AROS__)
#ifdef __linux__
# include <sys/ioctl.h> /* ioctl */

View File

@ -132,7 +132,7 @@ grub_hostfs_open (struct grub_file *file, const char *name)
file->data = data;
#if defined (__CYGWIN__) || defined (__MINGW32__)
#if defined (__CYGWIN__) || defined (__MINGW32__) || defined (__AROS__)
fseek (f, 0, SEEK_END);
file->size = ftello (f);
fseek (f, 0, SEEK_SET);

View File

@ -39,7 +39,7 @@
#include <grub/cryptodisk.h>
#include <grub/i18n.h>
#if !defined (__MINGW32__) && !defined (__CYGWIN__)
#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__AROS__)
#ifdef __linux__
#include <sys/ioctl.h> /* ioctl */