From 17d99fc6f236ed8588a9c829dbefa0d78c685327 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 21 Nov 2013 17:34:13 +0100 Subject: [PATCH] Fixed error.fmt to match active error.c code --- scripts/data_files/error.fmt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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