mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-21 17:54:58 +01:00
Add small crash reports with crash details, CPU preflight check and eu07_starter
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include "utilities/crashdump.h"
|
||||
|
||||
#ifdef WITH_CRASHPAD
|
||||
void crashreport_add_info(const char *name, const std::string &value);
|
||||
const std::string& crashreport_get_provider();
|
||||
@@ -6,7 +8,8 @@ bool crashreport_is_pending();
|
||||
void crashreport_upload_reject();
|
||||
void crashreport_upload_accept();
|
||||
#else
|
||||
#define crashreport_add_info(a,b)
|
||||
// the values go into the description of the crash, see utilities/crashdump.h
|
||||
#define crashreport_add_info(a,b) crashdump_set_info(a,b)
|
||||
#define crashreport_get_provider() (std::string(""))
|
||||
#define crashreport_set_autoupload()
|
||||
#define crashreport_is_pending() (false)
|
||||
|
||||
Reference in New Issue
Block a user