require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_CPP_BITS_IOSBASE_H)) {
    eval 'sub _CPP_BITS_IOSBASE_H () {1;}' unless defined(&_CPP_BITS_IOSBASE_H);
    require 'bits/atomicity.ph';
    require 'bits/localefwd.ph';
    require 'bits/locale_classes.ph';
    eval("sub _M_ios_fmtflags_end () { 1L<<16; }") unless defined(&_M_ios_fmtflags_end);
    eval("sub _M_ios_openmode_end () { 1L<<16; }") unless defined(&_M_ios_openmode_end);
    eval("sub _M_ios_iostate_end () { 1L<<16; }") unless defined(&_M_ios_iostate_end);
    eval("sub _M_ios_seekdir_end () { 1L<<16; }") unless defined(&_M_ios_seekdir_end);
    if(defined(&_GLIBCPP_RESOLVE_LIB_DEFECTS)) {
	eval("sub _M_bufsize () { 256; }") unless defined(&_M_bufsize);
    }
    if(defined(&_GLIBCPP_DEPRECATED)) {
    }
    eval("sub erase_event () { 0; }") unless defined(&erase_event);
    eval("sub imbue_event () { 1; }") unless defined(&imbue_event);
    eval("sub copyfmt_event () { 2; }") unless defined(&copyfmt_event);
    if(defined(&_GLIBCPP_RESOLVE_LIB_DEFECTS)) {
    }
}
1;
