00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _COMPILER_H_
00022 #define _COMPILER_H_
00023
00024
00025
00026
00027
00028 #ifdef _MSC_VER
00029 #define inline __inline // MSVC
00030 #elif !defined(__ICC) && !defined(__INTEL_COMPILER) && !defined(__GNUC__)
00031 #define inline // other than MSVC, ICC, GCC: define empty
00032 #endif
00033
00034 #ifdef _MSC_VER
00035 #define SBA_FINITE _finite // MSVC
00036 #elif defined(__ICC) || defined(__INTEL_COMPILER) || defined(__GNUC__)
00037 #define SBA_FINITE finite // ICC, GCC
00038 #else
00039 #define SBA_FINITE finite // other than MSVC, ICC, GCC, let's hope this will work
00040 #endif
00041
00042 #endif