Make it easier to detect our branch of libdivecomputer
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5ecc65799c
commit
1f24f67565
@ -26,6 +26,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
/* use these defines to detect Subsurface specific features */
|
||||||
|
#define SSRF_LIBDC_VERSION 1
|
||||||
|
#define SSRF_CUSTOM_SERIAL 1
|
||||||
|
|
||||||
#define DC_VERSION "@DC_VERSION@"
|
#define DC_VERSION "@DC_VERSION@"
|
||||||
#define DC_VERSION_MAJOR @DC_VERSION_MAJOR@
|
#define DC_VERSION_MAJOR @DC_VERSION_MAJOR@
|
||||||
#define DC_VERSION_MINOR @DC_VERSION_MINOR@
|
#define DC_VERSION_MINOR @DC_VERSION_MINOR@
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user