From 78647b92287f4a2d7f7ade3fa68f19c345718f02 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Fri, 23 Feb 2018 14:21:19 +0800 Subject: [PATCH] EmulatorPkg: Undefine CR3 macro in Host.h CR3 has been used as structure field name in BaseLib IA32_TASK_STATE_SEGMENT. Undefine CR3 to make sure there is no conflict to it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Cc: Andrew Fish Reviewed-by: Jordan Justen --- EmulatorPkg/Unix/Host/Host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/Unix/Host/Host.h b/EmulatorPkg/Unix/Host/Host.h index 9d6d36ee71..66c7c8df12 100644 --- a/EmulatorPkg/Unix/Host/Host.h +++ b/EmulatorPkg/Unix/Host/Host.h @@ -82,7 +82,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #undef NTOHS #undef HTONS #undef B0 - +#undef CR3 #include #include