Addition conditions for UEFI environment under MSVC
This commit is contained in:
parent
7b0be68977
commit
6edcd41c0a
12 changed files with 27 additions and 14 deletions
|
@ -160,7 +160,8 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_MSC_VER) && !defined snprintf
|
||||
#if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \
|
||||
!defined(EFI32)
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue