require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_LDAP_UTF8_H)) {
    eval 'sub _LDAP_UTF8_H () {1;}' unless defined(&_LDAP_UTF8_H);
    require 'lber_types.ph';
    eval 'sub LDAP_UCS4_INVALID () {(0x80000000);}' unless defined(&LDAP_UCS4_INVALID);
    eval 'sub LDAP_MAX_UTF8_LEN () {( $sizeof{ &wchar_t} * 3/2);}' unless defined(&LDAP_MAX_UTF8_LEN);
}
1;
