* util/getroot.c [__GNU__] (strip_extra_slashes, xgetcwd, exec_pipe,
find_root_devices_from_poolname, find_root_devices_from_libzfs,
grub_find_device): Do not define.
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_size) [__GNU__]: Do
not define nr variable.
+ * util/getroot.c [__GNU__] (strip_extra_slashes, xgetcwd, exec_pipe,
+ find_root_devices_from_poolname, find_root_devices_from_libzfs,
+ grub_find_device): Do not define.
2012-04-21 Vladimir Serbinenko <phcoder@gmail.com>
grub_util_is_imsm (const char *os_dev);
#endif
-#if ! defined(__CYGWIN__)
+#if ! defined(__CYGWIN__) && !defined(__GNU__)
static void
strip_extra_slashes (char *dir)
#endif
-#if !defined (__MINGW32__) && !defined (__CYGWIN__)
+#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__GNU__)
static pid_t
exec_pipe (char **argv, int *fd)
#endif /* __linux__ */
-#if !defined (__MINGW32__) && !defined (__CYGWIN__)
+#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__GNU__)
static char **
find_root_devices_from_libzfs (const char *dir)
return 0;
}
+#elif defined (__GNU__)
+
#elif ! defined(__CYGWIN__)
char *