Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: test for arm64 architecture properly in MP3DecoderTests
on arm64/aarch64 libmpg123 generates bad data leading to the test MP3DecoderTests.test_DecodeMP3As2PiecesMPG123_SameAs1Piece failing. this test was excluded by testing for the TARGET_CPU_ARM64 macro. but this is an Xcode macro defined in TargetConditionals.h. thus the test would not be excluded when compiling on a device such as the Raspberry Pi 4 or 5. the portable way to test for arm64 architecture with clang is to check for __aarch64__: https://stackoverflow.com/a/41666292
- Loading branch information