• Home
  • Raw
  • Download

Lines Matching full:major

77  * Check whether this is GCC major.minor or a later release, or some
83 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) 0 argument
85 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) \ argument
86 (__GNUC__ > (major) || \
87 (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
91 * Check whether this is Clang major.minor or a later release.
95 #define PCAP_IS_AT_LEAST_CLANG_VERSION(major, minor) 0 argument
97 #define PCAP_IS_AT_LEAST_CLANG_VERSION(major, minor) \ argument
98 (__clang_major__ > (major) || \
99 (__clang_major__ == (major) && __clang_minor__ >= (minor)))
103 * Check whether this is Sun C/SunPro C/Oracle Studio major.minor
107 * uppermost hex digit being the major version number, the next
121 #define PCAP_IS_AT_LEAST_SUNC_VERSION(major,minor) 0 argument
123 #define PCAP_SUNPRO_VERSION_TO_BCD(major, minor) \ argument
125 (((major) << 12) | (((minor)/10) << 8) | (((minor)%10) << 4)) : \
126 (((major) << 8) | ((minor) << 4)))
127 #define PCAP_IS_AT_LEAST_SUNC_VERSION(major,minor) \ argument
128 (__SUNPRO_C >= PCAP_SUNPRO_VERSION_TO_BCD((major), (minor)))
132 * Check whether this is IBM XL C major.minor or a later release.
134 * The version number in __xlC__ has the major version in the
139 #define PCAP_IS_AT_LEAST_XL_C_VERSION(major,minor) 0 argument
141 #define PCAP_IS_AT_LEAST_XL_C_VERSION(major, minor) \ argument
142 (__xlC__ >= (((major) << 8) | (minor)))
146 * Check whether this is HP aC++/HP C major.minor or a later release.
150 * the major version number, the next two decimal digits being the minor
152 * (Strip off the A., remove the . between the major and minor version
157 #define PCAP_IS_AT_LEAST_HP_C_VERSION(major,minor) 0 argument
159 #define PCAP_IS_AT_LEAST_HP_C_VERSION(major,minor) \ argument
160 (__HP_aCC >= ((major)*10000 + (minor)*100))