… | |
… | |
79 | #else |
79 | #else |
80 | #define ECB_GCC_VERSION(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))) |
80 | #define ECB_GCC_VERSION(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))) |
81 | #endif |
81 | #endif |
82 | #endif |
82 | #endif |
83 | |
83 | |
|
|
84 | #define ECB_C (__STDC__+0) /* this assumes that __STDC__ is either empty or a number */ |
84 | #define ECB_C99 (__STDC_VERSION__ >= 199901L) |
85 | #define ECB_C99 (__STDC_VERSION__ >= 199901L) |
85 | #define ECB_C11 (__STDC_VERSION__ >= 201112L) |
86 | #define ECB_C11 (__STDC_VERSION__ >= 201112L) |
|
|
87 | #define ECB_CPP (__cplusplus+0) |
|
|
88 | #define ECB_CPP98 (__cplusplus >= 199711L) |
|
|
89 | #define ECB_CPP11 (__cplusplus >= 201103L) |
86 | |
90 | |
87 | /*****************************************************************************/ |
91 | /*****************************************************************************/ |
88 | |
92 | |
89 | /* ECB_NO_THREADS - ecb is not used by multiple threads, ever */ |
93 | /* ECB_NO_THREADS - ecb is not used by multiple threads, ever */ |
90 | /* ECB_NO_SMP - ecb might be used in multiple threads, but only on a single cpu */ |
94 | /* ECB_NO_SMP - ecb might be used in multiple threads, but only on a single cpu */ |