require '_h2ph_pre.ph';

unless(defined(&_SYS_POOL_H_)) {
    eval 'sub _SYS_POOL_H_ () {1;}' unless defined(&_SYS_POOL_H_);
    require 'sys/lock.ph';
    require 'sys/queue.ph';
    eval 'sub PR_HASHTABSIZE () {8;}' unless defined(&PR_HASHTABSIZE);
    eval 'sub PR_MALLOCOK () {1;}' unless defined(&PR_MALLOCOK);
    eval 'sub PR_NOWAIT () {0;}' unless defined(&PR_NOWAIT);
    eval 'sub PR_WAITOK () {2;}' unless defined(&PR_WAITOK);
    eval 'sub PR_WANTED () {4;}' unless defined(&PR_WANTED);
    eval 'sub PR_STATIC () {8;}' unless defined(&PR_STATIC);
    eval 'sub PR_FREEHEADER () {16;}' unless defined(&PR_FREEHEADER);
    eval 'sub PR_URGENT () {32;}' unless defined(&PR_URGENT);
    eval 'sub PR_PHINPAGE () {64;}' unless defined(&PR_PHINPAGE);
    eval 'sub PR_LOGGING () {128;}' unless defined(&PR_LOGGING);
    if(defined(&POOL_DIAGNOSTIC)) {
    }
    if(defined(&POOL_DIAGNOSTIC)) {
	eval 'sub pool_get {
	    local($h, $f) = @_;
    	    eval q( &_pool_get(($h), ($f),  &__FILE__,  &__LINE__));
	}' unless defined(&pool_get);
	eval 'sub pool_put {
	    local($h, $v) = @_;
    	    eval q( &_pool_put(($h), ($v),  &__FILE__,  &__LINE__));
	}' unless defined(&pool_put);
    } else {
    }
    if(defined( &POOL_DIAGNOSTIC) || defined( &DEBUG)) {
    }
}
1;
