Lines Matching refs:minor
77 * Check whether this is GCC major.minor or a later release, or some
84 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) 0
87 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) \
89 (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
93 * Check whether this is Clang major.minor or a later release.
98 #define PCAP_IS_AT_LEAST_CLANG_VERSION(major, minor) 0
101 #define PCAP_IS_AT_LEAST_CLANG_VERSION(major, minor) \
103 (__clang_major__ == (major) && __clang_minor__ >= (minor)))
107 * Check whether this is Sun C/SunPro C/Oracle Studio major.minor
112 * one or two hex digits being the minor version number, and
126 #define PCAP_IS_AT_LEAST_SUNC_VERSION(major,minor) 0
129 #define PCAP_SUNPRO_VERSION_TO_BCD(major, minor) \
130 (((minor) >= 10) ? \
131 (((major) << 12) | (((minor)/10) << 8) | (((minor)%10) << 4)) : \
132 (((major) << 8) | ((minor) << 4)))
133 #define PCAP_IS_AT_LEAST_SUNC_VERSION(major,minor) \
134 (__SUNPRO_C >= PCAP_SUNPRO_VERSION_TO_BCD((major), (minor)))
138 * Check whether this is IBM XL C major.minor or a later release.
141 * upper 8 bits and the minor version in the lower 8 bits.
149 #define PCAP_IS_AT_LEAST_XL_C_VERSION(major,minor) 0
157 #define PCAP_IS_AT_LEAST_XL_C_VERSION(major, minor) \
159 (__ibmxl_version__ == (major) && __ibmxl_release__ >= (minor)))
164 #define PCAP_IS_AT_LEAST_XL_C_VERSION(major, minor) \
165 (__xlC__ >= (((major) << 8) | (minor)))
170 * Check whether this is HP aC++/HP C major.minor or a later release.
174 * the major version number, the next two decimal digits being the minor
176 * (Strip off the A., remove the . between the major and minor version
182 #define PCAP_IS_AT_LEAST_HP_C_VERSION(major,minor) 0
185 #define PCAP_IS_AT_LEAST_HP_C_VERSION(major,minor) \
186 (__HP_aCC >= ((major)*10000 + (minor)*100))