require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_GLIBCXX_ATOMIC_WORD_H)) {
    eval 'sub _GLIBCXX_ATOMIC_WORD_H () {1;}' unless defined(&_GLIBCXX_ATOMIC_WORD_H);
    eval 'sub _GLIBCXX_READ_MEM_BARRIER () { &__asm  &__volatile ("mb":::"memory");}' unless defined(&_GLIBCXX_READ_MEM_BARRIER);
    eval 'sub _GLIBCXX_WRITE_MEM_BARRIER () { &__asm  &__volatile ("wmb":::"memory");}' unless defined(&_GLIBCXX_WRITE_MEM_BARRIER);
}
1;
