summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
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 056e8f00b..d9c384acd 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -138,6 +138,9 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
# include "sdl.h"
# include <SDL.h>
#endif /* WITH_SDL */
+#ifdef WITH_ZLIB
+# include <zlib.h>
+#endif
char *CrashLog::LogLibraries(char *buffer, const char *last) const
{
@@ -185,6 +188,10 @@ char *CrashLog::LogLibraries(char *buffer, const char *last) const
}
#endif /* WITH_SDL */
+#ifdef WITH_ZLIB
+ buffer += seprintf(buffer, last, " Zlib: %s\n", zlibVersion());
+#endif
+
buffer += seprintf(buffer, last, "\n");
return buffer;
}