Version checks in inc/x86_64/efibind.h for ms_abi support gives
false negative for clang. Signed-off-by: toazzz < toal193@users.sf.net> Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
This commit is contained in:
parent
049a863e14
commit
79f4f38d15
@ -23,7 +23,7 @@ Revision History
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(GNU_EFI_USE_MS_ABI)
|
#if defined(GNU_EFI_USE_MS_ABI)
|
||||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))
|
#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
|
#define HAVE_USE_MS_ABI 1
|
||||||
#elif defined(__clang__)
|
#elif defined(__clang__)
|
||||||
#define HAVE_USE_MS_ABI 1
|
#define HAVE_USE_MS_ABI 1
|
||||||
|
Loading…
Reference in New Issue
Block a user