Skip to content

Commit

Permalink
Merge topic 'define-warning'
Browse files Browse the repository at this point in the history
18eeebd COMP: Fixed clang warning about macro expansion giving defined
  • Loading branch information
seanm authored and kwrobot committed Feb 4, 2016
2 parents ce8f242 + 18eeebd commit 6aa84a3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Modules/Core/Common/src/itkFloatingPointExceptions.cxx
Expand Up @@ -58,8 +58,17 @@
#include <stdio.h> // needed on Solaris
#include <fenv.h>

#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__)

Expand Down

0 comments on commit 6aa84a3

Please sign in to comment.