Ticket #62445: patch-compiler.h.diff
File patch-compiler.h.diff, 809 bytes (added by bal-agates, 3 years ago) |
---|
-
src/foreign/levmar/compiler.h
old new 20 20 #ifndef _COMPILER_H_ 21 21 #define _COMPILER_H_ 22 22 23 #include <math.h> 24 23 25 /* note: intel's icc defines both __ICC & __INTEL_COMPILER. 24 26 * Also, some compilers other than gcc define __GNUC__, 25 27 * therefore gcc should be checked last … … 33 35 #ifdef _MSC_VER 34 36 #define LM_FINITE _finite // MSVC 35 37 #elif defined(__ICC) || defined(__INTEL_COMPILER) || defined(__GNUC__) 36 #define LM_FINITE finite // ICC, GCC38 #define LM_FINITE isfinite // ICC, GCC 37 39 #else 38 #define LM_FINITE finite // other than MSVC, ICC, GCC, let's hope this will work40 #define LM_FINITE isfinite // other than MSVC, ICC, GCC, let's hope this will work 39 41 #endif 40 42 41 43 #ifdef _MSC_VER