ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.h
(Generate patch)

Comparing libecb/ecb.h (file contents):
Revision 1.136 by root, Tue Jun 17 05:51:31 2014 UTC vs.
Revision 1.137 by root, Tue Oct 14 14:01:07 2014 UTC

90 * causing enormous grief in return for some better fake benchmark numbers. 90 * causing enormous grief in return for some better fake benchmark numbers.
91 * or so. 91 * or so.
92 * we try to detect these and simply assume they are not gcc - if they have 92 * we try to detect these and simply assume they are not gcc - if they have
93 * an issue with that they should have done it right in the first place. 93 * an issue with that they should have done it right in the first place.
94 */ 94 */
95#ifndef ECB_GCC_VERSION
96 #if !defined __GNUC_MINOR__ || defined __INTEL_COMPILER || defined __SUNPRO_C || defined __SUNPRO_CC || defined __llvm__ || defined __clang__ 95#if !defined __GNUC_MINOR__ || defined __INTEL_COMPILER || defined __SUNPRO_C || defined __SUNPRO_CC || defined __llvm__ || defined __clang__
97 #define ECB_GCC_VERSION(major,minor) 0 96 #define ECB_GCC_VERSION(major,minor) 0
98 #else 97#else
99 #define ECB_GCC_VERSION(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))) 98 #define ECB_GCC_VERSION(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
100 #endif
101#endif 99#endif
102 100
103#define ECB_CPP (__cplusplus+0) 101#define ECB_CPP (__cplusplus+0)
104#define ECB_CPP11 (__cplusplus >= 201103L) 102#define ECB_CPP11 (__cplusplus >= 201103L)
105 103

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines