diff options
author | Liming Gao <liming.gao@intel.com> | 2018-02-23 14:21:19 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-27 18:33:51 +0800 |
commit | 78647b92287f4a2d7f7ade3fa68f19c345718f02 (patch) | |
tree | 918e25706217565b97d60976424a5d2bbbc82246 /EmulatorPkg | |
parent | 02a908fc6d93a7971990d5fa8cd4efe023d14e43 (diff) | |
download | edk2-78647b92287f4a2d7f7ade3fa68f19c345718f02.tar.gz edk2-78647b92287f4a2d7f7ade3fa68f19c345718f02.tar.bz2 edk2-78647b92287f4a2d7f7ade3fa68f19c345718f02.zip |
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 <liming.gao@intel.com>
Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/Unix/Host/Host.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <PiPei.h>
#include <Uefi.h>
|