#include #include #include #ifndef ZLIB_VERNUM #define ZLIB_VERNUM 0 #endif int main () { puts("zlib version is " ZLIB_VERSION); if (ZLIB_VERNUM < 0x12C0) { exit(0); } else { exit(1); } }