Different symbol (PROCESSOR_BIND_H__) define in RISCV64 ProcessorBinding.h from other CPU Arch. An unexception compilation error generated if include __PROCESSOR_BIND_H__ symbol in header file for cross-platform compiling.
Cc: Andrei Warkentin <andrei.warken...@intel.com> Cc: Sunil V L <suni...@ventanamicro.com> Cc: Yimin Wang <yimin.w...@intel.com> Cc: Alan Sheng <alan.sh...@intel.com> Signed-off-by: Gavin Xue <gavin....@intel.com> --- MdePkg/Include/RiscV64/ProcessorBind.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/RiscV64/ProcessorBind.h b/MdePkg/Include/RiscV64/ProcessorBind.h index 1d42d92de4..7f24e77b8c 100644 --- a/MdePkg/Include/RiscV64/ProcessorBind.h +++ b/MdePkg/Include/RiscV64/ProcessorBind.h @@ -2,13 +2,14 @@ Processor or Compiler specific defines and types for RISC-V Copyright (c) 2016 - 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR> + Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ -#ifndef PROCESSOR_BIND_H__ -#define PROCESSOR_BIND_H__ +#ifndef __PROCESSOR_BIND_H__ +#define __PROCESSOR_BIND_H__ /// /// Define the processor type so other code can make processor based choices -- 2.33.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106187): https://edk2.groups.io/g/devel/message/106187 Mute This Topic: https://groups.io/mt/99640657/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-