blob: bc62db155f1c6d56024776fb01bd25a7d38924c1 [file] [log] [blame]
#ifndef LIBBCC_VERSION_H
#define LIBBCC_VERSION_H
#define LIBBCC_VERSION "@REVISION@"
#define LIBBCC_MAJOR_VERSION @REVISION_MAJOR@
#define LIBBCC_MINOR_VERSION @REVISION_MINOR@
#define LIBBCC_PATCH_VERSION @REVISION_PATCH@
#define __LIBBCC_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))
#define LIBBCC_VERSION_CODE __LIBBCC_VERSION(LIBBCC_MAJOR_VERSION, LIBBCC_MINOR_VERSION, LIBBCC_PATCH_VERSION)
#define LIBBCC_VERSION_GEQ(a,b,c) LIBBCC_VERSION_CODE >= __LIBBCC_VERSION(a, b, c)
#endif