OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
crashcatcher.hpp
Go to the documentation of this file.
1 #ifndef CRASHCATCHER_H
2 #define CRASHCATCHER_H
3 
4 #include <string>
5 
6 #if (defined(__APPLE__) || (defined(__linux) && !defined(ANDROID)) || (defined(__unix) && !defined(ANDROID)) || defined(__posix))
7  #define USE_CRASH_CATCHER 1
8 #else
9  #define USE_CRASH_CATCHER 0
10 #endif
11 
12 #if USE_CRASH_CATCHER
13 extern void crashCatcherInstall(int argc, char **argv, const std::string &crashLogPath);
14 #else
15 inline void crashCatcherInstall(int, char **, const std::string &crashLogPath)
16 {
17 }
18 #endif
19 
20 #endif
void crashCatcherInstall(int, char **, const std::string &crashLogPath)
Definition: crashcatcher.hpp:15