require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NET_ZLIB_H_)) {
    eval 'sub _NET_ZLIB_H_ () {1;}' unless defined(&_NET_ZLIB_H_);
    unless(defined(&STDC)) {
	if(defined( &MSDOS) || defined( &__STDC__) || defined( &__cplusplus)) {
	    eval 'sub STDC () {1;}' unless defined(&STDC);
	}
    }
    if(defined(&__MWERKS__)) {
	require 'unix.ph';
    }
    unless(defined(&MAX_MEM_LEVEL)) {
	if(defined(&MAXSEG_64K)) {
	    eval 'sub MAX_MEM_LEVEL () {8;}' unless defined(&MAX_MEM_LEVEL);
	} else {
	    eval 'sub MAX_MEM_LEVEL () {9;}' unless defined(&MAX_MEM_LEVEL);
	}
    }
    unless(defined(&FAR)) {
	eval 'sub FAR () {1;}' unless defined(&FAR);
    }
    unless(defined(&MAX_WBITS)) {
	eval 'sub MAX_WBITS () {15;}' unless defined(&MAX_WBITS);
    }
    unless(defined(&OF)) {
	if(defined(&STDC)) {
	    eval 'sub OF {
	        my($args) = @_;
    		eval q($args);
	    }' unless defined(&OF);
	} else {
	    eval 'sub OF {
	        my($args) = @_;
    		eval q(());
	    }' unless defined(&OF);
	}
    }
    if(defined(&STDC)) {
    } else {
    }
    eval 'sub ZLIB_VERSION () {"0.95P";}' unless defined(&ZLIB_VERSION);
    eval 'sub Z_NO_FLUSH () {0;}' unless defined(&Z_NO_FLUSH);
    eval 'sub Z_PARTIAL_FLUSH () {1;}' unless defined(&Z_PARTIAL_FLUSH);
    eval 'sub Z_FULL_FLUSH () {2;}' unless defined(&Z_FULL_FLUSH);
    eval 'sub Z_SYNC_FLUSH () {3;}' unless defined(&Z_SYNC_FLUSH);
    eval 'sub Z_FINISH () {4;}' unless defined(&Z_FINISH);
    eval 'sub Z_PACKET_FLUSH () {5;}' unless defined(&Z_PACKET_FLUSH);
    eval 'sub Z_OK () {0;}' unless defined(&Z_OK);
    eval 'sub Z_STREAM_END () {1;}' unless defined(&Z_STREAM_END);
    eval 'sub Z_ERRNO () {(-1);}' unless defined(&Z_ERRNO);
    eval 'sub Z_STREAM_ERROR () {(-2);}' unless defined(&Z_STREAM_ERROR);
    eval 'sub Z_DATA_ERROR () {(-3);}' unless defined(&Z_DATA_ERROR);
    eval 'sub Z_MEM_ERROR () {(-4);}' unless defined(&Z_MEM_ERROR);
    eval 'sub Z_BUF_ERROR () {(-5);}' unless defined(&Z_BUF_ERROR);
    eval 'sub Z_BEST_SPEED () {1;}' unless defined(&Z_BEST_SPEED);
    eval 'sub Z_BEST_COMPRESSION () {9;}' unless defined(&Z_BEST_COMPRESSION);
    eval 'sub Z_DEFAULT_COMPRESSION () {(-1);}' unless defined(&Z_DEFAULT_COMPRESSION);
    eval 'sub Z_FILTERED () {1;}' unless defined(&Z_FILTERED);
    eval 'sub Z_HUFFMAN_ONLY () {2;}' unless defined(&Z_HUFFMAN_ONLY);
    eval 'sub Z_DEFAULT_STRATEGY () {0;}' unless defined(&Z_DEFAULT_STRATEGY);
    eval 'sub Z_BINARY () {0;}' unless defined(&Z_BINARY);
    eval 'sub Z_ASCII () {1;}' unless defined(&Z_ASCII);
    eval 'sub Z_UNKNOWN () {2;}' unless defined(&Z_UNKNOWN);
    eval 'sub Z_NULL () {0;}' unless defined(&Z_NULL);
    unless(defined(&_Z_UTIL_H)) {
    }
}
1;
