diff --git a/Modules/Core/Common/src/itkFloatingPointExceptions.cxx b/Modules/Core/Common/src/itkFloatingPointExceptions.cxx index 92e1e412a1a..22223692fe7 100644 --- a/Modules/Core/Common/src/itkFloatingPointExceptions.cxx +++ b/Modules/Core/Common/src/itkFloatingPointExceptions.cxx @@ -58,8 +58,17 @@ #include // needed on Solaris #include -#define DEFINED_PPC (defined(__ppc__) || defined(__ppc64__)) -#define DEFINED_INTEL (defined(__i386__) || defined(__x86_64__)) +#if defined(__ppc__) || defined(__ppc64__) +#define DEFINED_PPC 1 +#else +#define DEFINED_PPC 0 +#endif + +#if defined(__i386__) || defined(__x86_64__) +#define DEFINED_INTEL 1 +#else +#define DEFINED_INTEL 0 +#endif #if defined(__sun) || defined(__EMSCRIPTEN__)