require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_GLIBCXX_ATOMICITY_H)) {
    eval 'sub _GLIBCXX_ATOMICITY_H () {1;}' unless defined(&_GLIBCXX_ATOMICITY_H);
    require 'bits/c++config.ph';
    require 'bits/gthr.ph';
    require 'bits/atomic_word.ph';
    if(defined(&_GLIBCXX_ATOMIC_BUILTINS)) {
    } else {
    }
    if(defined(&__GTHREADS)) {
    } else {
    }
    if(defined(&__GTHREADS)) {
    } else {
    }
    unless(defined(&_GLIBCXX_READ_MEM_BARRIER)) {
	eval 'sub _GLIBCXX_READ_MEM_BARRIER () { &__asm  &__volatile ("":::"memory");}' unless defined(&_GLIBCXX_READ_MEM_BARRIER);
    }
    unless(defined(&_GLIBCXX_WRITE_MEM_BARRIER)) {
	eval 'sub _GLIBCXX_WRITE_MEM_BARRIER () { &__asm  &__volatile ("":::"memory");}' unless defined(&_GLIBCXX_WRITE_MEM_BARRIER);
    }
}
1;
