forked from Green-Sky/tomato
add breakpad support on linux
This commit is contained in:
10
src/breakpad_client.cpp
Normal file
10
src/breakpad_client.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "./breakpad_client.hpp"
|
||||
|
||||
// if linux
|
||||
|
||||
bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, void*, bool succeeded) {
|
||||
fprintf(stderr, "Crash detected, MiniDump written to: %s\n", descriptor.path());
|
||||
return succeeded;
|
||||
}
|
||||
|
||||
// endif linux
|
Reference in New Issue
Block a user