mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
Use %I64 and not %ll when using OS printf if compiling for windows.
This commit is contained in:
1 parent
d218ec9738
commit
18e76955be
11 files changed
+77
-36
No files matched your search
@@ -42,6 +42,14 @@ char *grub_make_system_path_relative_to_its_root (const char *path)
|
||||
int
|
||||
grub_util_device_is_mapped (const char *dev);
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#define GRUB_HOST_PRIuLONG_LONG "I64u"
|
||||
#define GRUB_HOST_PRIxLONG_LONG "I64x"
|
||||
#else
|
||||
#define GRUB_HOST_PRIuLONG_LONG "llu"
|
||||
#define GRUB_HOST_PRIxLONG_LONG "llx"
|
||||
#endif
|
||||
|
||||
void * EXPORT_FUNC(xmalloc) (grub_size_t size) WARN_UNUSED_RESULT;
|
||||
void * EXPORT_FUNC(xrealloc) (void *ptr, grub_size_t size) WARN_UNUSED_RESULT;
|
||||
char * EXPORT_FUNC(xstrdup) (const char *str) WARN_UNUSED_RESULT;
|
||||
|
||||
Reference in new issue
Block a user