summaryrefslogtreecommitdiff
path: root/include/version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/version.cpp')
-rw-r--r--include/version.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/version.cpp b/include/version.cpp
index 22921202b..f6feb3354 100644
--- a/include/version.cpp
+++ b/include/version.cpp
@@ -108,7 +108,7 @@ static bool write_build_h(const std::string &buildh, const std::string &git_vers
fd << "/* This file is automatically generated by version.cpp - do not edit it! */" << std::endl;
fd << build << std::endl;
if (!git_version.empty())
- fd << "#define GIT_VERSION \"" << git_version << "\"" << std::endl;
+ fd << "#define VERSION_GIT \"" << git_version << "\"" << std::endl;
fd.close();
return true;