From 7b2cc5499f4398565308b1b7f8bf56ff56a6f965 Mon Sep 17 00:00:00 2001 From: xli24 Date: Thu, 21 May 2009 02:24:02 +0000 Subject: Remove __APPLE__ usage in ProcessorBind.h files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8362 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ipf/ProcessorBind.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'MdePkg/Include/Ipf') diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 9c41f3ebc1..da79467c75 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -392,11 +392,11 @@ typedef INT64 INTN; #define GLOBAL_REMOVE_IF_UNREFERENCED #endif -#if defined(__APPLE__) - #define ASM_GLOBAL .globl -#else - #define ASM_GLOBAL .global -#endif +/// +/// For GNU assembly code, .global or .globl can declare global symbols. +/// Define this macro to unify the usage. +/// +#define ASM_GLOBAL .globl /// /// A pointer to a function in IPF points to a plabel. -- cgit v1.2.3