require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&TSAN_INTERFACE_ATOMIC_H)) {
    eval 'sub TSAN_INTERFACE_ATOMIC_H () {1;}' unless defined(&TSAN_INTERFACE_ATOMIC_H);
    if(defined(&__cplusplus)) {
    }
    if(defined(&__SIZEOF_INT128__) || ((defined(&__clang_major__) ? &__clang_major__ : undef) * 100+ (defined(&__clang_minor__) ? &__clang_minor__ : undef) >= 302)) {
	eval 'sub __TSAN_HAS_INT128 () {1;}' unless defined(&__TSAN_HAS_INT128);
    } else {
	eval 'sub __TSAN_HAS_INT128 () {0;}' unless defined(&__TSAN_HAS_INT128);
    }
    eval("sub __tsan_memory_order_relaxed () { 0; }") unless defined(&__tsan_memory_order_relaxed);
    eval("sub __tsan_memory_order_consume () { 1; }") unless defined(&__tsan_memory_order_consume);
    eval("sub __tsan_memory_order_acquire () { 2; }") unless defined(&__tsan_memory_order_acquire);
    eval("sub __tsan_memory_order_release () { 3; }") unless defined(&__tsan_memory_order_release);
    eval("sub __tsan_memory_order_acq_rel () { 4; }") unless defined(&__tsan_memory_order_acq_rel);
    eval("sub __tsan_memory_order_seq_cst () { 5; }") unless defined(&__tsan_memory_order_seq_cst);
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if((defined(&__TSAN_HAS_INT128) ? &__TSAN_HAS_INT128 : undef)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
