(svn r18751) -Codechange: also log the zlib version in the crash log

pull/155/head
rubidium 15 years ago
parent fec1c1d92b
commit 0782cdf253

@ -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;
}

Loading…
Cancel
Save