summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Ia32/ProcessorBind.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Ia32/ProcessorBind.h')
-rw-r--r--MdePkg/Include/Ia32/ProcessorBind.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h
index 9cb4eac8cf..a397f4b4b5 100644
--- a/MdePkg/Include/Ia32/ProcessorBind.h
+++ b/MdePkg/Include/Ia32/ProcessorBind.h
@@ -341,6 +341,11 @@ typedef INT32 INTN;
#else
#define ASM_PFX(name) _##name
#endif
+ #if defined(__APPLE__)
+ #define ASM_GLOBAL .globl
+ #else
+ #define ASM_GLOBAL .global
+ #endif
#endif
/**