Move OS-dependent file definitions to include/grub/osdep/hostfile*.h.
This commit is contained in:
parent
37149a2f20
commit
761c718b52
8 changed files with 154 additions and 68 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <grub/types.h>
|
||||
#include <grub/symbol.h>
|
||||
#include <grub/emu/misc.h>
|
||||
#include <grub/osdep/hostfile.h>
|
||||
|
||||
char *grub_util_get_path (const char *dir, const char *file);
|
||||
size_t grub_util_get_image_size (const char *path);
|
||||
|
@ -39,14 +40,6 @@ void grub_util_write_image (const char *img, size_t size, FILE *out,
|
|||
void grub_util_write_image_at (const void *img, size_t size, off_t offset,
|
||||
FILE *out, const char *name);
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
||||
#define fseeko fseeko64
|
||||
#define ftello ftello64
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
char *make_system_path_relative_to_its_root (const char *path);
|
||||
|
||||
char *canonicalize_file_name (const char *path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue