From: Vladimir Serbinenko Date: Mon, 16 Dec 2013 13:39:06 +0000 (+0100) Subject: * include/grub/efi/api.h: Don't use call wrappers when compiled with X-Git-Tag: grub-2.02-beta1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fdec226ff75245e0429e49ae3bf9b5665686bc7;p=thirdparty%2Fgrub.git * include/grub/efi/api.h: Don't use call wrappers when compiled with mingw or cygwin as API already matches. --- diff --git a/ChangeLog b/ChangeLog index 91242c573..67adb780a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-16 Vladimir Serbinenko + + * include/grub/efi/api.h: Don't use call wrappers when compiled with + mingw or cygwin as API already matches. + 2013-12-16 Vladimir Serbinenko * grub-core/lib/posix_wrap/errno.h: Undefine errno before redefining. diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index 956cce2de..c1c6981ed 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -1549,7 +1549,7 @@ struct grub_efi_block_io typedef struct grub_efi_block_io grub_efi_block_io_t; #if (GRUB_TARGET_SIZEOF_VOID_P == 4) || defined (__ia64__) \ - || defined (__aarch64__) + || defined (__aarch64__) || defined (__MINGW64__) || defined (__CYGWIN__) #define efi_call_0(func) func() #define efi_call_1(func, a) func(a)