summaryrefslogtreecommitdiffstats
path: root/BuildConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'BuildConfig.h')
-rw-r--r--BuildConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/BuildConfig.h b/BuildConfig.h
index baf2ad6d..5e10beb0 100644
--- a/BuildConfig.h
+++ b/BuildConfig.h
@@ -61,10 +61,14 @@ public:
/// The commit hash of this build
QString GIT_COMMIT;
+ const char* GIT_COMMIT_CSTR;
/// This is printed on start to standard output
QString VERSION_STR;
+ /// Version string as a char string. Used by the crash handling system to avoid touching heap memory.
+ const char* VERSION_CSTR;
+
/**
* This is used to fetch the news RSS feed.
* It defaults in CMakeLists.txt to "http://multimc.org/rss.xml"