c_io_stdio.h: Don't define __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined.

* config/c_io_stdio.h: Don't define __c_wfile_type
        when _GLIBCPP_USE_WCHAR_T is not defined.

From-SVN: r37453
This commit is contained in:
Loren J. Rittle 2000-11-14 13:49:27 +00:00 committed by Gabriel Dos Reis
parent fe8ca71f2a
commit daa54c4b74
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-11-13 Loren J. Rittle <ljrittle@acm.org>
* config/c_io_stdio.h: Don't define __c_wfile_type
when _GLIBCPP_USE_WCHAR_T is not defined.
2000-11-13 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing

View File

@ -56,9 +56,9 @@ namespace std {
#define _GLIBCPP_BASIC_FILE_ENCAPSULATION 1
typedef FILE __c_file_type;
typedef _IO_wide_data __c_wfile_type;
#ifdef _GLIBCPP_USE_WCHAR_T
typedef _IO_wide_data __c_wfile_type;
extern "C" struct __c_libio_codecvt { };
#endif