mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Print zlib/lz4/lzma library versions in verbose version output
Knowing the version of zlib/lz4/lzma we're linking against is very useful for debugging issues with those libraries, so print it out in the verbosity 4 version output. Also print this information at the top of `playTests.sh`.
This commit is contained in:
@ -637,6 +637,11 @@ static void printVersion(void)
|
||||
#endif
|
||||
DISPLAYOUT("\n");
|
||||
if (g_displayLevel >= 4) {
|
||||
/* library versions */
|
||||
DISPLAYOUT("zlib version %s\n", FIO_zlibVersion());
|
||||
DISPLAYOUT("lz4 version %s\n", FIO_lz4Version());
|
||||
DISPLAYOUT("lzma version %s\n", FIO_lzmaVersion());
|
||||
|
||||
/* posix support */
|
||||
#ifdef _POSIX_C_SOURCE
|
||||
DISPLAYOUT("_POSIX_C_SOURCE defined: %ldL\n", (long) _POSIX_C_SOURCE);
|
||||
|
Reference in New Issue
Block a user