pmt: add arm defination controller

This commit is contained in:
2024-04-10 01:02:06 +03:00
committed by GitHub
parent fbb4822872
commit 5e39fdcdc9

View File

@@ -28,7 +28,7 @@ extern "C" {
#endif
/* compiler architecture if arm is not 32-bit or 64-bit, the compilation is stopped */
#if ! defined __aarch64__ || __aarch32__ || __armv8__ || __armv7l__ || __arm__
#if ! defined __arm__ || __aarch64__ || __aarch32__ || __armv8__ || __armv7l__
#error "only 32-bit or 64-bit arm compilers can be used"
#endif