diff --git a/Modules/Core/Common/src/itkFloatingPointExceptions_unix.cxx b/Modules/Core/Common/src/itkFloatingPointExceptions_unix.cxx index 4304f444b0e..cbf3556625b 100644 --- a/Modules/Core/Common/src/itkFloatingPointExceptions_unix.cxx +++ b/Modules/Core/Common/src/itkFloatingPointExceptions_unix.cxx @@ -59,6 +59,13 @@ # define ITK_FEENABLEEXCEPT_NOOP #endif +// We do not have ITK_HAS_FEENABLEEXCEPT, and we do not have a workaround +// implemented, e.g. ARMv8 with MUSL +#if !defined(ITK_HAS_FEENABLEEXCEPT) && !defined(__ppc__) && !defined(__ppc64__) && !defined(__i386__) && \ + !defined(__x86_64__) +# define ITK_FEENABLEEXCEPT_NOOP +#endif + #if defined(__APPLE__) # include "TargetConditionals.h" # if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR || TARGET_CPU_ARM64