]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmulatorPkg: Undefine CR3 macro in Host.h
authorLiming Gao <liming.gao@intel.com>
Fri, 23 Feb 2018 06:21:19 +0000 (14:21 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 27 Feb 2018 10:33:51 +0000 (18:33 +0800)
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 <liming.gao@intel.com>
Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
EmulatorPkg/Unix/Host/Host.h

index 9d6d36ee7151083d1e0625753f32e6251e5125bf..66c7c8df125b27ae92e29b65c936831a0bef1bdd 100644 (file)
@@ -82,7 +82,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #undef NTOHS\r
 #undef HTONS\r
 #undef B0\r
-\r
+#undef CR3
 \r
 #include <PiPei.h>\r
 #include <Uefi.h>\r