Ver Fonte

Always define HAVE_USE_MS_ABI for MSVC compilers

Obviously, it makes little sense not to have it unconditionally defined there.
Pete Batard há 4 anos atrás
pai
commit
70bced02ed
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      inc/x86_64/efibind.h

+ 3 - 1
inc/x86_64/efibind.h

@@ -22,7 +22,9 @@ Revision History
 #pragma pack()
 #endif
 
-#if defined(GNU_EFI_USE_MS_ABI)
+#if defined(_MSC_VER)
+    #define HAVE_USE_MS_ABI 1
+#elif defined(GNU_EFI_USE_MS_ABI)
     #if (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)))||(defined(__clang__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 2)))
         #define HAVE_USE_MS_ABI 1
     #else