Add haiku-specific functions.
This commit is contained in:
parent
887c0bb61a
commit
2028576504
9 changed files with 188 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
#include <grub/cryptodisk.h>
|
||||
#include <grub/i18n.h>
|
||||
|
||||
#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__AROS__)
|
||||
#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__AROS__) && !defined (__HAIKU__)
|
||||
|
||||
#ifdef __linux__
|
||||
#include <sys/ioctl.h> /* ioctl */
|
||||
|
|
|
@ -49,10 +49,12 @@ grub_make_system_path_relative_to_its_root (const char *path)
|
|||
grub_util_error (_("failed to get canonical path of `%s'"), path);
|
||||
|
||||
/* For ZFS sub-pool filesystems, could be extended to others (btrfs?). */
|
||||
#ifndef __HAIKU__
|
||||
{
|
||||
char *dummy;
|
||||
grub_find_zpool_from_dir (p, &dummy, &poolfs);
|
||||
}
|
||||
#endif
|
||||
|
||||
len = strlen (p) + 1;
|
||||
buf = xstrdup (p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue