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:
Vladimir 'phcoder' Serbinenko 2013-10-15 18:03:19 +02:00
parent f4e0adc0f9
commit 4b4eeb3cc1
6 changed files with 26 additions and 8 deletions

View file

@ -21,6 +21,7 @@
#include <grub/charset.h>
#define wint_t grub_posix_wint_t
#define wchar_t grub_posix_wchar_t
#define mbstate_t grub_posix_mbstate_t