Addition conditions for UEFI environment under MSVC

This commit is contained in:
Paul Bakker 2013-10-29 15:22:54 +01:00
parent 7b0be68977
commit 6edcd41c0a
12 changed files with 27 additions and 14 deletions

View file

@ -36,13 +36,15 @@
#include <stdio.h>
#endif
#if defined(_MSC_VER) && !defined snprintf
#if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
#if !defined snprintf
#define snprintf _snprintf
#endif
#if defined(_MSC_VER) && !defined vsnprintf
#if !defined vsnprintf
#define vsnprintf _vsnprintf
#endif
#endif /* _MSC_VER */
char *debug_fmt( const char *format, ... )
{