#include <stdlib.h>\r
#include <string.h>\r
\r
-/** Do not define memcpy for IPF+GCC or ARM+GCC builds.\r
+/** Do not define memcpy for IPF+GCC or ARM/AARCH64+GCC builds.\r
For IPF, using a GCC compiler, the memcpy function is converted to\r
CopyMem by objcpy during build.\r
- For ARM, the memcpy function is provided by the CompilerIntrinsics library.\r
+ For ARM/AARCH64, the memcpy function is provided by the CompilerIntrinsics library.\r
**/\r
-#if !((defined(MDE_CPU_IPF) || defined(MDE_CPU_ARM)) && defined(__GNUC__))\r
+#if !((defined(MDE_CPU_IPF) || defined(MDE_CPU_ARM) || defined(MDE_CPU_AARCH64)) && defined(__GNUC__))\r
/** The memcpy function copies n characters from the object pointed to by s2\r
into the object pointed to by s1.\r
\r