Current File : //usr/local/apps/perl/lib/site_perl/5.30.0/x86_64-linux/dlfcn.ph
require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DLFCN_H)) {
    eval 'sub _DLFCN_H () {1;}' unless defined(&_DLFCN_H);
    require 'features.ph';
    eval 'sub __need_size_t () {1;}' unless defined(&__need_size_t);
    require 'stddef.ph';
    require 'bits/dlfcn.ph';
    if(defined(&__USE_GNU)) {
	eval 'sub RTLD_NEXT () {(( &void *) -1);}' unless defined(&RTLD_NEXT);
	eval 'sub RTLD_DEFAULT () {(( &void *) 0);}' unless defined(&RTLD_DEFAULT);
	eval 'sub LM_ID_BASE () {0;}' unless defined(&LM_ID_BASE);
	eval 'sub LM_ID_NEWLM () {-1;}' unless defined(&LM_ID_NEWLM);
    }
    if(defined(&__USE_GNU)) {
    }
    if(defined(&__USE_GNU)) {
	eval("sub RTLD_DL_SYMENT () { 1; }") unless defined(&RTLD_DL_SYMENT);
	eval("sub RTLD_DL_LINKMAP () { 2; }") unless defined(&RTLD_DL_LINKMAP);
	eval("sub RTLD_DI_LMID () { 1; }") unless defined(&RTLD_DI_LMID);
	eval("sub RTLD_DI_LINKMAP () { 2; }") unless defined(&RTLD_DI_LINKMAP);
	eval("sub RTLD_DI_CONFIGADDR () { 3; }") unless defined(&RTLD_DI_CONFIGADDR);
	eval("sub RTLD_DI_SERINFO () { 4; }") unless defined(&RTLD_DI_SERINFO);
	eval("sub RTLD_DI_SERINFOSIZE () { 5; }") unless defined(&RTLD_DI_SERINFOSIZE);
	eval("sub RTLD_DI_ORIGIN () { 6; }") unless defined(&RTLD_DI_ORIGIN);
	eval("sub RTLD_DI_PROFILENAME () { 7; }") unless defined(&RTLD_DI_PROFILENAME);
	eval("sub RTLD_DI_PROFILEOUT () { 8; }") unless defined(&RTLD_DI_PROFILEOUT);
	eval("sub RTLD_DI_TLS_MODID () { 9; }") unless defined(&RTLD_DI_TLS_MODID);
	eval("sub RTLD_DI_TLS_DATA () { 10; }") unless defined(&RTLD_DI_TLS_DATA);
	eval("sub RTLD_DI_MAX () { 10; }") unless defined(&RTLD_DI_MAX);
    }
}
1;