aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2000-11-14 13:49:27 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2000-11-14 13:49:27 +0000
commitdaa54c4b74e17e2c6bc050bb4795dad2b13f036f (patch)
treee9cd0ae8abb0d1d2f9839279c5e6d82798313664 /libstdc++-v3
parentfe8ca71f2a590de1829e7c07c2fe98b506d940a1 (diff)
downloadgcc-daa54c4b74e17e2c6bc050bb4795dad2b13f036f.zip
gcc-daa54c4b74e17e2c6bc050bb4795dad2b13f036f.tar.gz
gcc-daa54c4b74e17e2c6bc050bb4795dad2b13f036f.tar.bz2
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/config/c_io_stdio.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2ca71b0..88e8aac 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/config/c_io_stdio.h b/libstdc++-v3/config/c_io_stdio.h
index 134d054..ab96aa2 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