diff options
Diffstat (limited to 'src/lib/utils/version.cpp')
-rw-r--r-- | src/lib/utils/version.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/utils/version.cpp b/src/lib/utils/version.cpp index d13d091ca..f3e01e290 100644 --- a/src/lib/utils/version.cpp +++ b/src/lib/utils/version.cpp @@ -21,6 +21,11 @@ namespace Botan { */ std::string version_string() { + return std::string(version_cstr()); + } + +const char* version_cstr() + { #define QUOTE(name) #name #define STR(macro) QUOTE(macro) |