OSDN Git Service

* config/c_io_stdio.h: Include libio.h.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Nov 2000 09:20:48 +0000 (09:20 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Nov 2000 09:20:48 +0000 (09:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37495 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config/c_io_stdio.h

index 143c12a..66512b8 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/c_io_stdio.h: Include libio.h.
+
 Wed Nov 15 18:39:34 2000  Mark P Mitchell  <mark@codesourcery.com>
 
        * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
index ab96aa2..8dcf71a 100644 (file)
 #include <stdio.h>
 #include <bits/c++threads.h>
 
+#if _GLIBCPP_USE_WCHAR_T
+// Even though we use the C stdio facilities for ordinary streams,
+// we still use libio for wide-character support.
+#include <libio.h>
+#endif
+
 namespace std {
 
 // from fpos.h