mingw or cygwin as API already matches.
+2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * 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 <phcoder@gmail.com>
* grub-core/lib/posix_wrap/errno.h: Undefine errno before redefining.
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)