From 9f5b8f904c7d30c61b69ea32d8109fe16c19ec1b Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 29 Mar 2006 16:12:31 +0000 Subject: [PATCH] Added 'version=' again and added a function call for linking --- Installation/config/support/test_ZLIB.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Installation/config/support/test_ZLIB.C b/Installation/config/support/test_ZLIB.C index 4c55dd82226..794c8af5803 100755 --- a/Installation/config/support/test_ZLIB.C +++ b/Installation/config/support/test_ZLIB.C @@ -33,6 +33,9 @@ int main() { - std::cout << ZLIB_VERSION << std::endl; + gzFile *ptr; + gzwrite(ptr->fd, (void*)0, 0); + + std::cout << "version=" << ZLIB_VERSION << std::endl; return 0; }