summaryrefslogtreecommitdiffstats
path: root/BuildConfig.h
diff options
context:
space:
mode:
authorForkk <forkk@forkk.net>2014-05-09 17:33:32 -0500
committerForkk <forkk@forkk.net>2014-05-09 17:33:32 -0500
commit93ae21abfcce1c6b36e5cd68d23045f2b9ac438d (patch)
treeb89d027023688d5d9e9665160d74188c9ae4c39c /BuildConfig.h
parentcf616efb5da6240db80a810f96abd8e8325ff3c9 (diff)
downloadMultiMC-93ae21abfcce1c6b36e5cd68d23045f2b9ac438d.tar
MultiMC-93ae21abfcce1c6b36e5cd68d23045f2b9ac438d.tar.gz
MultiMC-93ae21abfcce1c6b36e5cd68d23045f2b9ac438d.tar.lz
MultiMC-93ae21abfcce1c6b36e5cd68d23045f2b9ac438d.tar.xz
MultiMC-93ae21abfcce1c6b36e5cd68d23045f2b9ac438d.zip
Implement crash handling on Linux
This will allow us to generate crash dumps and have users report crashes.
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"