From 1f24f675654df2d207bb92b3fafda0d480e9e09e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 7 Jul 2015 10:48:44 -0700 Subject: [PATCH] Make it easier to detect our branch of libdivecomputer Signed-off-by: Dirk Hohndel --- include/libdivecomputer/version.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libdivecomputer/version.h.in b/include/libdivecomputer/version.h.in index 6ac63d4..4a29f26 100644 --- a/include/libdivecomputer/version.h.in +++ b/include/libdivecomputer/version.h.in @@ -26,6 +26,10 @@ extern "C" { #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_MAJOR @DC_VERSION_MAJOR@ #define DC_VERSION_MINOR @DC_VERSION_MINOR@