mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
13 lines
508 B
C++
13 lines
508 B
C++
#ifndef OPENMW_COMPONENTS_CRASHCATCHER_CRASHCATCHER_HPP
|
|
#define OPENMW_COMPONENTS_CRASHCATCHER_CRASHCATCHER_HPP
|
|
|
|
#include <filesystem>
|
|
|
|
#if (defined(__APPLE__) || (defined(__linux) && !defined(ANDROID)) || (defined(__unix) && !defined(ANDROID)) \
|
|
|| defined(__posix))
|
|
void crashCatcherInstall(int argc, char** argv, const std::filesystem::path& crashLogPath);
|
|
#else
|
|
inline void crashCatcherInstall(int /*argc*/, char** /*argv*/, const std::filesystem::path& /*crashLogPath*/) {}
|
|
#endif
|
|
|
|
#endif
|