From 43dfc3e3a66b8e4584eb46219b129197a2428181 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Thu, 10 Mar 2022 22:46:29 -0800 Subject: [PATCH] fix build on macOS ARM [alexander.lukichev@gmail.com: backport from upstream] Signed-off-by: Alexander Lukichev --- openpgm/pgm/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpgm/pgm/cpu.c b/openpgm/pgm/cpu.c index cbcc988..f5da471 100644 --- a/openpgm/pgm/cpu.c +++ b/openpgm/pgm/cpu.c @@ -33,6 +33,7 @@ //#define CPU_DEBUG +#if defined(__i386__) || defined(__x86_64__) #ifndef _MSC_VER static void @@ -59,7 +60,6 @@ _xgetbv(uint32_t xcr) { #endif -#if defined(__i386__) || defined(__x86_64__) PGM_GNUC_INTERNAL void pgm_cpuid (pgm_cpu_t* cpu) -- 2.37.2