mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 17:49:23 +00:00
Allow compilation with mingw64 albeit with warnings due to lack of
%llx/%llu. * grub-core/gnulib/msvc-inval.c: Use __cdecl rather than cdecl. * grub-core/lib/posix_wrap/wchar.h: Define wint_t. * grub-core/lib/posix_wrap/wctype.h: Define wctype_t. * include/grub/osdep/hostfile_windows.h: Don't define fseeko/ftello on mingw64. * include/grub/types.h: Allow sizeof (long) != sizeof (void *).
This commit is contained in:
1 parent
f4e0adc0f9
commit
4b4eeb3cc1
6 files changed
+26
-8
No files matched your search
@@ -64,6 +64,12 @@ enum grub_util_fd_open_flags_t
|
||||
GRUB_UTIL_FD_O_SYNC = 0,
|
||||
};
|
||||
|
||||
#if defined (__MINGW32__) && !defined (__MINGW64__)
|
||||
|
||||
#define fseeko fseeko64
|
||||
|
||||
#endif
|
||||
|
||||
LPTSTR
|
||||
grub_util_utf8_to_tchar (const char *in);
|
||||
char *
|
||||
@@ -73,9 +79,6 @@ grub_util_tchar_to_utf8 (LPCTSTR in);
|
||||
|
||||
int fsync (int fno);
|
||||
|
||||
#define fseeko fseeko64
|
||||
#define ftello ftello64
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user