From 6301fbbdd7f141af139591193173b2609b7c918b Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Fri, 30 Jun 2023 10:38:39 +0200 Subject: [PATCH] tests: Fix CPU detection macro on Apple M1/M2 chips --- tests/pmacros_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pmacros_test.cpp b/tests/pmacros_test.cpp index fed35a2d..9083cae8 100644 --- a/tests/pmacros_test.cpp +++ b/tests/pmacros_test.cpp @@ -1,7 +1,7 @@ /* * The MIT License * - * Copyright (C) 2014-2018 Alexander Saprykin + * Copyright (C) 2014-2023 Alexander Saprykin * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -322,7 +322,7 @@ P_TEST_CASE_BEGIN (pmacros_general_test) #endif #if defined (P_OS_MAC) -# if !defined (P_CPU_X86) && !defined (P_CPU_POWER) +# if !defined (P_CPU_X86) && !defined (P_CPU_POWER) && !defined (P_CPU_ARM_64) P_TEST_CHECK (false); # endif #endif