require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_GLIBCXX_GCC_GTHR_H)) {
    eval 'sub _GLIBCXX_GCC_GTHR_H () {1;}' unless defined(&_GLIBCXX_GCC_GTHR_H);
    unless(defined(&_GLIBCXX_HIDE_EXPORTS)) {
    }
    if(defined (&_GLIBCXX___tpf_GLIBCXX___)) {
	require 'bits/gthr-tpf.ph';
    }
 elsif((defined(&_GLIBCXX__PTHREADS) ? &_GLIBCXX__PTHREADS : undef)) {
	require 'bits/gthr-posix.ph';
    }
 elsif((defined(&_GLIBCXX__PTHREADS95) ? &_GLIBCXX__PTHREADS95 : undef)) {
	require 'bits/gthr-posix95.ph';
    }
 elsif((defined(&_GLIBCXX__DCE_THREADS) ? &_GLIBCXX__DCE_THREADS : undef)) {
	require 'bits/gthr-dce.ph';
    }
 elsif((defined(&_GLIBCXX__SOLARIS_THREADS) ? &_GLIBCXX__SOLARIS_THREADS : undef)) {
	require 'bits/gthr-solaris.ph';
    }
 elsif(defined(&_GLIBCXX_HAVE_GTHR_DEFAULT)) {
	if((defined(&__GXX_WEAK__) ? &__GXX_WEAK__ : undef)) {
	    unless(defined(&_GLIBCXX_GTHREAD_USE_WEAK)) {
		eval 'sub _GLIBCXX_GTHREAD_USE_WEAK () {1;}' unless defined(&_GLIBCXX_GTHREAD_USE_WEAK);
	    }
	}
	require 'bits/gthr-default.ph';
    } else {
	require 'bits/gthr-single.ph';
    }
    unless(defined(&_GLIBCXX_HIDE_EXPORTS)) {
    }
}
1;
