Skip to content

Commit

Permalink
tests: Fix CPU detection macro on Apple M1/M2 chips
Browse files Browse the repository at this point in the history
  • Loading branch information
saprykin committed Jun 30, 2023
1 parent 591d328 commit 6301fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pmacros_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* The MIT License
*
* Copyright (C) 2014-2018 Alexander Saprykin <saprykin.spb@gmail.com>
* Copyright (C) 2014-2023 Alexander Saprykin <saprykin.spb@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6301fbb

Please sign in to comment.