diff options
author | rubidium <rubidium@openttd.org> | 2009-09-07 12:14:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-07 12:14:45 +0000 |
commit | d9164005212e4f6f680ee845ca85aea45de7ca4a (patch) | |
tree | 9e254d613f9fb9d7c5b3b46dddf09951eb62199d /src/os/unix/unix.cpp | |
parent | 46e562527887679c422c7bdc32efe4634c20670e (diff) | |
download | openttd-d9164005212e4f6f680ee845ca85aea45de7ca4a.tar.xz |
(svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations
Diffstat (limited to 'src/os/unix/unix.cpp')
-rw-r--r-- | src/os/unix/unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp index bbe916c57..ee4388aa5 100644 --- a/src/os/unix/unix.cpp +++ b/src/os/unix/unix.cpp @@ -15,6 +15,7 @@ #include "../../textbuf_gui.h" #include "../../functions.h" #include "../../core/random_func.hpp" +#include "../../crashlog.h" #include "table/strings.h" @@ -254,6 +255,7 @@ int CDECL main(int argc, char *argv[]) argc = 1; } #endif + CrashLog::InitialiseCrashLog(); SetRandomSeed(time(NULL)); |