basic_file.h (__basic_file): Don't use __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined.

* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
	when _GLIBCPP_USE_WCHAR_T is not defined.

From-SVN: r37400
This commit is contained in:
Mark Mitchell 2000-11-12 03:27:10 +00:00 committed by Mark Mitchell
parent 72aaffbd37
commit 8d8523fe52
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sat Nov 11 20:25:49 2000 Mark P Mitchell <mark@codesourcery.com>
* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
when _GLIBCPP_USE_WCHAR_T is not defined.
2000-11-10 Phil Edwards <pme@sources.redhat.com>
* include/bits/codecvt.h (__iconv_adaptor): New adaptor function,

View File

@ -122,7 +122,9 @@ namespace std {
int _M_fileno;
__c_file_type* _M_cfile;
#endif
#ifdef _GLIBCPP_USE_WCHAR_T
__c_wfile_type _M_wfile;
#endif /* !defined(_GLIBCPP_USE_WCHAR_T) */
public:
__basic_file(__c_lock* __lock = 0);