From daa54c4b74e17e2c6bc050bb4795dad2b13f036f Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Tue, 14 Nov 2000 13:49:27 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/config/c_io_stdio.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2ca71b08091..88e8aac5d4c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2000-11-13 Loren J. Rittle + * config/c_io_stdio.h: Don't define __c_wfile_type + when _GLIBCPP_USE_WCHAR_T is not defined. + 2000-11-13 Phil Edwards * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing diff --git a/libstdc++-v3/config/c_io_stdio.h b/libstdc++-v3/config/c_io_stdio.h index 134d0544b8d..ab96aa25513 100644 --- a/libstdc++-v3/config/c_io_stdio.h +++ b/libstdc++-v3/config/c_io_stdio.h @@ -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 -- 2.30.2