Defines for UEFI environment under MSVC added
This commit is contained in:
parent
178d9bac3c
commit
fa6a620b75
33 changed files with 94 additions and 54 deletions
|
@ -32,7 +32,14 @@
|
|||
// Comment out to disable prototype change warnings
|
||||
#define SHOW_PROTOTYPE_CHANGE_WARNINGS
|
||||
|
||||
#if defined _MSC_VER
|
||||
#if defined(_MSC_VER) && !defined(inline)
|
||||
#define inline _inline
|
||||
#else
|
||||
#if defined(__ARMCC_VERSION) && !defined(inline)
|
||||
#define inline __inline
|
||||
#endif /* __ARMCC_VERSION */
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// MSVC does not support #warning
|
||||
#undef SHOW_PROTOTYPE_CHANGE_WARNINGS
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue