diff options
Diffstat (limited to 'core/version.c')
-rw-r--r-- | core/version.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/version.c b/core/version.c new file mode 100644 index 000000000..764e4d2db --- /dev/null +++ b/core/version.c @@ -0,0 +1,18 @@ +#include "ssrf-version.h" + +const char *subsurface_git_version(void) +{ + return GIT_VERSION_STRING; +} + +const char *subsurface_canonical_version(void) +{ + return CANONICAL_VERSION_STRING; +} + +#ifdef SUBSURFACE_MOBILE +const char *subsurface_mobile_version(void) +{ + return MOBILE_VERSION_STRING; +} +#endif |