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:
Nigel Croxon 2017-02-20 14:29:53 -05:00
parent 049a863e14
commit 79f4f38d15
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Revision History
#endif
#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
#elif defined(__clang__)
#define HAVE_USE_MS_ABI 1