]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Arm/ProcessorBind.h
MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang
[mirror_edk2.git] / MdePkg / Include / Arm / ProcessorBind.h
index cc763b396b53b745586f8496c1fd14df840c67bb..c2482c2f50f0efeb3b0b1ff18fbb20b68cc13bfa 100644 (file)
@@ -110,7 +110,9 @@ typedef INT32   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