Make it easier to detect our branch of libdivecomputer

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-07 10:48:44 -07:00
parent 5ecc65799c
commit 1f24f67565

View File

@ -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@