]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/AArch64/ProcessorBind.h
MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang
[mirror_edk2.git] / MdePkg / Include / AArch64 / ProcessorBind.h
index f09b15a55800bf9a17f2bf81a80c0dd2a9e1f996..c5fe874b1bd016de2fc634bfaaaa2ca5a3d926a1 100644 (file)
@@ -111,7 +111,9 @@ typedef INT64   INTN;
 //\r
 #define EFIAPI\r
 \r
-#if defined(__GNUC__)\r
+// When compiling with Clang, we still use GNU as for the assembler, so we still\r
+// need to define the GCC_ASM* macros.\r
+#if defined(__GNUC__) || defined(__clang__)\r
   ///\r
   /// For GNU assembly code, .global or .globl can declare global symbols.\r
   /// Define this macro to unify the usage.\r