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 <[email protected]>
Cc: Sunil V L <[email protected]>
Cc: Yimin Wang <[email protected]>
Cc: Alan Sheng <[email protected]>
Signed-off-by: Gavin Xue <[email protected]>
---
 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: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to