mempcpy is not available on Darwin, so make it conditional like Solaris.
also sys/auxv.h does not exist so make including it conditional.
memcpy (a, b, 1000); // Redirects to memmove
memcpy (a, b, 1000); // Redirects to memmove
memmove(a, b, 1000);
-#if defined(VGO_solaris)
+#if defined(VGO_solaris) || defined(VGO_darwin)
memcpy(a, b, 1000);
#else
mempcpy(a, b, 1000);
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#if !defined(__APPLE__)
#include <sys/auxv.h>
+#endif
// This file determines arm64 features a processor supports.
// Arm processors do not have a x86-like cpuinfo instruction. Instead the