feat: debug library

This commit is contained in:
2021-12-08 15:38:20 +01:00
parent e4a9c5f763
commit 129bb47286
3 changed files with 4477 additions and 0 deletions

View File

@@ -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();