diff --git a/scripts/data_files/error.fmt b/scripts/data_files/error.fmt index 98b5765c3..969cd95a0 100644 --- a/scripts/data_files/error.fmt +++ b/scripts/data_files/error.fmt @@ -33,11 +33,8 @@ HEADER_INCLUDED #include -#if defined(EFIX64) || defined(EFI32) -#include -#endif - -#if defined(_MSC_VER) && !defined snprintf +#if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \ + !defined(EFI32) #define snprintf _snprintf #endif