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