This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
V3 PATCH: IRIX wide-character issue
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com
- Subject: V3 PATCH: IRIX wide-character issue
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 11 Nov 2000 20:29:36 -0800
- Organization: CodeSourcery, LLC
I realized I had one local patch that is needed for IRIX, where
wide-characters are not supported.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
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.
Index: libstdc++-v3/include/bits/basic_file.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/basic_file.h,v
retrieving revision 1.2
diff -c -p -r1.2 basic_file.h
*** basic_file.h 2000/11/01 21:38:32 1.2
--- basic_file.h 2000/11/12 03:09:32
*************** namespace std {
*** 122,128 ****
--- 122,130 ----
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);