1
#ifndef _PCILIB_VERSION_H
2
#define _PCILIB_VERSION_H
4
#define PCILIB_VERSION_MAJOR ${PCILIB_VERSION_MAJOR}
5
#define PCILIB_VERSION_MINOR ${PCILIB_VERSION_MINOR}
6
#define PCILIB_VERSION_MICRO ${PCILIB_VERSION_MICRO}
8
#define PCILIB_MAKE_VERSION(major, minor, micro) ((major<<16)|(minor<<8)|(micro))
9
#define PCILIB_VERSION_GET_MAJOR(version) ((version>>16)&&0xFF)
10
#define PCILIB_VERSION_GET_MINOR(version) ((version>>8)&&0xFF)
11
#define PCILIB_VERSION_GET_MICRO(version) ((version)&&0xFF)
13
#define PCILIB_VERSION PCILIB_MAKE_VERSION(PCILIB_VERSION_MAJOR, PCILIB_VERSION_MINOR, PCILIB_VERSION_MICRO)
15
#endif /* _PCILIB_VERSION_H */