mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-24 10:17:45 +02:00
MdePkg/Include: Corrects ALIGNOF macro in Base.h for MSVC
This change should correct compatibility with MSVC if the compiler flags undefines _MSC_VER, for example, like OpensslLib Signed-off-by: Savva Mitrofanov
This commit is contained in:
parent
043b6eaf84
commit
32ed66677a
@ -771,7 +771,7 @@ typedef UINTN *BASE_LIST;
|
||||
// support the standard operator _Alignof.
|
||||
//
|
||||
#define ALIGNOF(TYPE) _Alignof (TYPE)
|
||||
#elif defined(_MSC_VER)
|
||||
#elif defined(_MSC_EXTENSIONS)
|
||||
//
|
||||
// Earlier versions of MSVC, at least MSVC 2008 and later, support the
|
||||
// vendor-extension __alignof.
|
||||
|
Loading…
x
Reference in New Issue
Block a user