]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
make change to support UnixPkg build. The changes are listed as follows:
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index 45e9c14bf345701fb5566fdd990c24f2ab987d23..72c10328e45a07e54b00650d209a82271cfb5a1c 100644 (file)
@@ -197,7 +197,11 @@ typedef INT32   INTN;
 // For symbol name in GNU assembly code, an extra "_" is necessary\r
 //\r
 #if __GNUC__\r
-  #define ASM_PFX(name) _##name    \r
+  #if defined(linux)\r
+    #define ASM_PFX(name) name\r
+  #else\r
+    #define ASM_PFX(name) _##name\r
+  #endif \r
 #endif\r
 \r
 #define FUNCTION_ENTRY_POINT(p) (p)\r