mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-31 18:15:01 +00:00
1e07935366
The crashcatcher.cpp is not linked on Android because it's not supported but the function need to have some definition. Make it empty to avoid link failures.
14 lines
442 B
C++
14 lines
442 B
C++
#ifndef CRASHCATCHER_H
|
|
#define CRASHCATCHER_H
|
|
|
|
#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
|