2018-07-05 20:55:19 +00:00
|
|
|
#ifndef CRASHCATCHER_H
|
|
|
|
#define CRASHCATCHER_H
|
|
|
|
|
2023-01-30 08:20:16 +00:00
|
|
|
#include <filesystem>
|
2018-07-05 20:55:19 +00:00
|
|
|
|
2024-02-11 02:12:52 +00:00
|
|
|
#if (defined(__APPLE__) || (defined(__linux) && !defined(ANDROID)) || (defined(__unix) && !defined(ANDROID)) \
|
|
|
|
|| defined(__posix))
|
2024-01-19 13:09:02 +00:00
|
|
|
void crashCatcherInstall(int argc, char** argv, const std::filesystem::path& crashLogPath);
|
2024-02-11 02:12:52 +00:00
|
|
|
#else
|
|
|
|
inline void crashCatcherInstall(int /*argc*/, char** /*argv*/, const std::filesystem::path& /*crashLogPath*/) {}
|
|
|
|
#endif
|
2018-07-05 20:55:19 +00:00
|
|
|
|
|
|
|
#endif
|