This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] fixup fstream.cc for wchar_t


Adds the macro guard _GLIBCPP_USE_WCHAR_T

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

	* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

Index: src/fstream.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/src/fstream.cc,v
retrieving revision 1.1
diff -c -p -r1.1 fstream.cc
*** src/fstream.cc	31 Jul 2002 17:28:08 -0000	1.1
--- src/fstream.cc	31 Jul 2002 20:47:24 -0000
*************** namespace std 
*** 100,105 ****
--- 100,106 ----
        return __ret;
      }
  
+ #ifdef _GLIBCPP_USE_WCHAR_T
    template<> 
      basic_filebuf<wchar_t>::int_type 
      basic_filebuf<wchar_t>::_M_underflow_common(bool __bump)
*************** namespace std 
*** 188,191 ****
--- 189,193 ----
        _M_last_overflowed = false;	
        return __ret;
      }
+ #endif
  } // namespace std


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]