summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-10 16:41:01 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-11 10:16:00 +0100
commit7adae09897c6f17a60de9468e9e11d166ff52278 (patch)
tree384a80857b497ee0b2393e515f91309e2593b765 /src/crashlog.cpp
parentdcc5183dd0b1eba4163211a3c28f5acc4579e8fd (diff)
downloadopenttd-7adae09897c6f17a60de9468e9e11d166ff52278.tar.xz
Codechange: liblzma is called liblzma, how ever strange that might be
It is the only library we use that calls itself with 'lib' in the name. This might be confusing, but with the arrival of cmake a lot of these things are automated. And detection will find 'liblzma', not 'lzma', like with 'lzo', 'zlib', ..
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r--src/crashlog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index 5aa707eb5..8fbc4d3ce 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -55,7 +55,7 @@
#if defined(WITH_ICU_LAYOUT) || defined(WITH_ICU_SORT)
# include <unicode/uversion.h>
#endif /* WITH_ICU_SORT || WITH_ICU_LAYOUT */
-#ifdef WITH_LZMA
+#ifdef WITH_LIBLZMA
# include <lzma.h>
#endif
#ifdef WITH_LZO
@@ -254,7 +254,7 @@ char *CrashLog::LogLibraries(char *buffer, const char *last) const
#endif
#endif /* WITH_ICU_SORT || WITH_ICU_LAYOUT */
-#ifdef WITH_LZMA
+#ifdef WITH_LIBLZMA
buffer += seprintf(buffer, last, " LZMA: %s\n", lzma_version_string());
#endif