fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

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

	* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

From-SVN: r55909
This commit is contained in:
Benjamin Kosnik 2002-07-31 20:48:38 +00:00 committed by Benjamin Kosnik
parent de17e15428
commit 5a53872d08
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
* docs/html/22_locale/howto.html: Fix.

View File

@ -100,6 +100,7 @@ namespace std
return __ret;
}
#ifdef _GLIBCPP_USE_WCHAR_T
template<>
basic_filebuf<wchar_t>::int_type
basic_filebuf<wchar_t>::_M_underflow_common(bool __bump)
@ -188,4 +189,5 @@ namespace std
_M_last_overflowed = false;
return __ret;
}
#endif
} // namespace std