dkp-version.h | dkp-version.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
#if !defined (__UPOWER_H_INSIDE__) && !defined (UP_COMPILATION) | #if !defined (__UPOWER_H_INSIDE__) && !defined (UP_COMPILATION) | |||
#error "Only <devicekit-power.h> can be included directly." | #error "Only <devicekit-power.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __DKP_VERSION_H | #ifndef __DKP_VERSION_H | |||
#define __DKP_VERSION_H | #define __DKP_VERSION_H | |||
/* compile time version | /* compile time version | |||
*/ | */ | |||
#define DKP_COMPILE_VERSION (0x0.9.2) | #define DKP_COMPILE_VERSION (0x0.9.3) | |||
/* check whether a the version is above the compile time version. | /* check whether a the version is above the compile time version. | |||
*/ | */ | |||
#define DKP_CHECK_VERSION(ver) (1) | #define DKP_CHECK_VERSION(ver) (1) | |||
#endif /* __DKP_VERSION_H */ | #endif /* __DKP_VERSION_H */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
up-version.h | up-version.h | |||
---|---|---|---|---|
skipping to change at line 58 | skipping to change at line 58 | |||
* | * | |||
* The compile-time minor version | * The compile-time minor version | |||
*/ | */ | |||
#define UP_MINOR_VERSION (9) | #define UP_MINOR_VERSION (9) | |||
/** | /** | |||
* UP_MICRO_VERSION: | * UP_MICRO_VERSION: | |||
* | * | |||
* The compile-time micro version | * The compile-time micro version | |||
*/ | */ | |||
#define UP_MICRO_VERSION (2) | #define UP_MICRO_VERSION (3) | |||
/* check whether a UPower version equal to or greater than | /* check whether a UPower version equal to or greater than | |||
* major.minor.micro. | * major.minor.micro. | |||
*/ | */ | |||
#define UP_CHECK_VERSION(major,minor,micro) \ | #define UP_CHECK_VERSION(major,minor,micro) \ | |||
(UP_MAJOR_VERSION > (major) || \ | (UP_MAJOR_VERSION > (major) || \ | |||
(UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION > (minor)) || \ | (UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION > (minor)) || \ | |||
(UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION == (minor) && \ | (UP_MAJOR_VERSION == (major) && UP_MINOR_VERSION == (minor) && \ | |||
UP_MICRO_VERSION >= (micro))) | UP_MICRO_VERSION >= (micro))) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||