From 30b7f58f4e544890d3edeecf937d52b2f6b91e76 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Tue, 24 Sep 2013 19:19:31 +0200 Subject: [PATCH] * grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix. * grub-core/kern/emu/hostfs.c: Likewise. * util/getroot_unix.c: Likewise. --- ChangeLog | 6 ++++++ grub-core/kern/emu/hostdisk_unix.c | 2 +- grub-core/kern/emu/hostfs.c | 2 +- util/getroot_unix.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe5ad4021..ae1c0ba47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-09-24 Vladimir Serbinenko + + * 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 * include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define. diff --git a/grub-core/kern/emu/hostdisk_unix.c b/grub-core/kern/emu/hostdisk_unix.c index e02256e82..96b517e07 100644 --- a/grub-core/kern/emu/hostdisk_unix.c +++ b/grub-core/kern/emu/hostdisk_unix.c @@ -43,7 +43,7 @@ #include #include -#if !defined (__CYGWIN__) && !defined (__MINGW32__) +#if !defined (__CYGWIN__) && !defined (__MINGW32__) && !defined (__AROS__) #ifdef __linux__ # include /* ioctl */ diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c index ba309489f..818a29e6c 100644 --- a/grub-core/kern/emu/hostfs.c +++ b/grub-core/kern/emu/hostfs.c @@ -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); diff --git a/util/getroot_unix.c b/util/getroot_unix.c index ac82487ca..619bfefbc 100644 --- a/util/getroot_unix.c +++ b/util/getroot_unix.c @@ -39,7 +39,7 @@ #include #include -#if !defined (__MINGW32__) && !defined (__CYGWIN__) +#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__AROS__) #ifdef __linux__ #include /* ioctl */