Defines for UEFI environment under MSVC added

This commit is contained in:
Paul Bakker 2013-10-28 18:48:30 +01:00
parent 178d9bac3c
commit fa6a620b75
33 changed files with 94 additions and 54 deletions

View file

@ -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