feat: debug library
This commit is contained in:
@@ -6,14 +6,23 @@
|
||||
// Description : Hello World in C++, Ansi-style
|
||||
//============================================================================
|
||||
|
||||
#if !defined(NDEBUG) && !defined(_WIN32)
|
||||
#define BACKWARD_HAS_UNWIND 1
|
||||
#define BACKWARD_HAS_DW 1
|
||||
#endif
|
||||
|
||||
#include "window/Display.h"
|
||||
#include "updater/Updater.h"
|
||||
#include "misc/Backward.hpp"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
extern "C"
|
||||
#endif
|
||||
|
||||
int main(int argc, const char* args[]) {
|
||||
// setup signal handling
|
||||
backward::SignalHandling sh;
|
||||
|
||||
// remove the outdated binary
|
||||
td::utils::Updater::removeOldFile();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user