summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-10 13:12:34 +0000
committerrubidium <rubidium@openttd.org>2010-01-10 13:12:34 +0000
commit3ca0937c1cc5c229eb07d4e07de2979c0e024e47 (patch)
treec540ff23c43f7f016b5802e5ba31c2fa65e4209d /src/crashlog.cpp
parent5afce5831d1c698e5f9f3d206a8b3da140087a7b (diff)
downloadopenttd-3ca0937c1cc5c229eb07d4e07de2979c0e024e47.tar.xz
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r--src/crashlog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index d9c384acd..f66c1de0d 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -134,6 +134,9 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
#ifdef WITH_ICU
# include <unicode/uversion.h>
#endif /* WITH_ICU */
+#ifdef WITH_LZO
+#include <lzo/lzo1x.h>
+#endif
#ifdef WITH_SDL
# include "sdl.h"
# include <SDL.h>
@@ -173,6 +176,10 @@ char *CrashLog::LogLibraries(char *buffer, const char *last) const
buffer += seprintf(buffer, last, " ICU: %s\n", buf);
#endif /* WITH_ICU */
+#ifdef WITH_LZO
+ buffer += seprintf(buffer, last, " LZO: %s\n", lzo_version_string());
+#endif
+
#ifdef WITH_PNG
buffer += seprintf(buffer, last, " PNG: %s\n", png_get_libpng_ver(NULL));
#endif /* WITH_PNG */