Have build test report library version if it doesn't match zlib.h.

This commit is contained in:
Mark Adler 2022-05-26 08:47:51 -07:00
parent ec3df00224
commit 441a2ac602

View File

@ -555,7 +555,8 @@ int main(argc, argv)
exit(1);
} else if (strcmp(zlibVersion(), ZLIB_VERSION) != 0) {
fprintf(stderr, "warning: different zlib version\n");
fprintf(stderr, "warning: different zlib version linked: %s\n",
zlibVersion());
}
printf("zlib version %s = 0x%04x, compile flags = 0x%lx\n",