fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
authorBenjamin Kosnik <bkoz@redhat.com>
Wed, 31 Jul 2002 20:48:38 +0000 (20:48 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 31 Jul 2002 20:48:38 +0000 (20:48 +0000)
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

From-SVN: r55909

libstdc++-v3/ChangeLog
libstdc++-v3/src/fstream.cc

index 3a42f178b408d9aa8cfc8b22313b2b366ccfa740..636f1a8a3f9ee1348a25ab2d740a95ae11c396b4 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
+
 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
 
        * docs/html/22_locale/howto.html: Fix.
index 941e6db4d953cb96c0e527cd0e8e2923a2c3e3ed..be711339b72f7d69e27cbda99900cc90a91f13db 100644 (file)
@@ -100,6 +100,7 @@ namespace std
       return __ret;
     }
 
+#ifdef _GLIBCPP_USE_WCHAR_T
   template<> 
     basic_filebuf<wchar_t>::int_type 
     basic_filebuf<wchar_t>::_M_underflow_common(bool __bump)
@@ -188,4 +189,5 @@ namespace std
       _M_last_overflowed = false;      
       return __ret;
     }
+#endif
 } // namespace std