25 #ifndef MCTOOLS_VERSION_H 26 #define MCTOOLS_VERSION_H 34 #define MCTOOLS_VERSION_MAJOR 2 37 #define MCTOOLS_VERSION_MINOR 2 40 #define MCTOOLS_VERSION_PATCH 0 43 #define MCTOOLS_ENCODE_VERSION(major_, minor_, patch_) ( \ 49 #define MCTOOLS_VERSION MCTOOLS_ENCODE_VERSION( \ 50 MCTOOLS_VERSION_MAJOR, \ 51 MCTOOLS_VERSION_MINOR, \ 52 MCTOOLS_VERSION_PATCH) 55 #define MCTOOLS_LIB_VERSION "2.2.0" 58 #define MCTOOLS_IS_AT_LEAST(major_,minor_,patch_) ( \ 60 MCTOOLS_ENCODE_VERSION(major_,minor_,patch_)) 82 static bool is_at_least(
int major_,
int minor_,
int patch_);
85 static bool has_feature(
const std::string & feature_);
90 #endif // MCTOOLS_VERSION_H