]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/efi/api.h: Don't use call wrappers when compiled with
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 16 Dec 2013 13:39:06 +0000 (14:39 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 16 Dec 2013 13:39:06 +0000 (14:39 +0100)
mingw or cygwin as API already matches.

ChangeLog
include/grub/efi/api.h

index 91242c57355c8668ec3e13e09470553c615bafe5..67adb780ae7885df28db5b7ec6cb04e20afbf1a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index 956cce2de79042a1f5de54694421aff6165656b7..c1c6981ed1c17797d707f50a6f8a9235400e2777 100644 (file)
@@ -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)