]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 24 Sep 2013 17:19:31 +0000 (19:19 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 24 Sep 2013 17:19:31 +0000 (19:19 +0200)
* grub-core/kern/emu/hostfs.c: Likewise.
* util/getroot_unix.c: Likewise.

ChangeLog
grub-core/kern/emu/hostdisk_unix.c
grub-core/kern/emu/hostfs.c
util/getroot_unix.c

index fe5ad4021116117c6bf69efcd02f2a7223bb9064..ae1c0ba4766c09792a65689cc5568d8b1e6f7748 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index e02256e82102398ecb2403a45fe2d210757fdfa8..96b517e07f0dac54ae8df20ef20cf8186708d255 100644 (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 */
index ba309489f315864f3946dac4255843063d87002b..818a29e6cd79d20101e95a2566cbf642e31632ab 100644 (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);
index ac82487caa90d7f343c24a096056c1555b807349..619bfefbc8157cc0aa364b6c007b626fe7fab7be 100644 (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 */