Revision 1236 branches/threaded2merge/src/linad99/ufstream.cpp

ufstream.cpp (revision 1236)
38 38
#if defined(__TURBOC__) || defined(__GNUDOS__) || defined(__MSVC32__) || defined (__WAT32__)
39 39
uostream::uostream(const char* name, int  m, int prot)
40 40
#  if defined(__GNU_NEWER__)
41
    :ofstream(name, std::ios::binary | std::_Ios_Openmode(m))
41
    :ofstream(name, std::ios::binary)
42 42
#  elif defined(__MSC_NEWER__) || (__BORLANDC__  > 0x0550)
43 43
    :ofstream(name, std::ios::binary | m)
44 44
#  else
......
80 80
#else
81 81
#  if defined(linux)
82 82
#    if (__GNUC__  >= 3)
83
       ofstream::open(name, std::_Ios_Openmode(m));
83
       ofstream::open(name);
84 84
#    else
85 85
       ofstream::open(name, m);
86 86
#    endif

Also available in: Unified diff