From: Nicola Vetrini <nicola.vetr...@gmail.com> Since the toolchain baseline for GCC is 5.1, there is no need for this case.
Signed-off-by: Nicola Vetrini <nicola.vetr...@gmail.com> --- Mentioned in https://gitlab.com/xen-project/xen/-/issues/201 --- xen/arch/x86/include/asm/x86_64/efibind.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xen/arch/x86/include/asm/x86_64/efibind.h b/xen/arch/x86/include/asm/x86_64/efibind.h index b29342c61cac..d71b9324a6bb 100644 --- a/xen/arch/x86/include/asm/x86_64/efibind.h +++ b/xen/arch/x86/include/asm/x86_64/efibind.h @@ -173,10 +173,8 @@ typedef uint64_t UINTN; #ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options #ifdef _MSC_EXTENSIONS #define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler - #elif __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) - #define EFIAPI __attribute__((__ms_abi__)) // Force Microsoft ABI #else - #define EFIAPI // Substitute expression to force C calling convention + #define EFIAPI __attribute__((__ms_abi__)) // Force Microsoft ABI #endif #endif -- 2.43.0