diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 3532b7d4a4..9c41f3ebc1 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -392,6 +392,12 @@ typedef INT64 INTN; #define GLOBAL_REMOVE_IF_UNREFERENCED #endif +#if defined(__APPLE__) + #define ASM_GLOBAL .globl +#else + #define ASM_GLOBAL .global +#endif + /// /// A pointer to a function in IPF points to a plabel. ///