Go to the documentation of this file. 27 #ifndef INCLUDED_COMPILER 28 #define INCLUDED_COMPILER 35 # define MSC_VERSION _MSC_VER 37 # define MSC_VERSION 0 40 #if defined(__INTEL_COMPILER) 41 # define ICC_VERSION __INTEL_COMPILER 43 # define ICC_VERSION 0 46 #if defined(__LCC__) && !defined(__MCST__) 47 # define LCC_VERSION __LCC__ 49 # define LCC_VERSION 0 52 #if defined(__LCC__) && defined(__MCST__) 53 # define MCST_LCC_VERSION (__LCC__*100 + __LCC_MINOR__) 55 # define MCST_LCC_VERSION 0 59 # define GCC_VERSION (__GNUC__*100 + __GNUC_MINOR__) 61 # define GCC_VERSION 0 67 # define CLANG_VERSION (__clang_major__*100 + __clang_minor__) 69 # define CLANG_VERSION 0 74 # define __has_feature(x) 0 77 #ifndef __has_cpp_attribute 78 # define __has_cpp_attribute(x) 0 96 #ifdef __STDC_VERSION__ 97 # if __STDC_VERSION__ >= 199901L 106 #ifndef COMPILER_HAS_SSE 107 # if GCC_VERSION && defined(__SSE__) 108 # define COMPILER_HAS_SSE 1 109 # elif MSC_VERSION // also includes ICC 110 # define COMPILER_HAS_SSE 1 112 # define COMPILER_HAS_SSE 0 116 #ifndef COMPILER_HAS_SSE2 117 # if GCC_VERSION && defined(__SSE2__) 118 # define COMPILER_HAS_SSE2 1 119 # elif MSC_VERSION // also includes ICC 120 # define COMPILER_HAS_SSE2 1 122 # define COMPILER_HAS_SSE2 0 126 #endif // #ifndef INCLUDED_COMPILER