* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 1 Jan 2001 00:06:50 +0000 (00:06 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 1 Jan 2001 00:06:50 +0000 (00:06 +0000)
From-SVN: r38574

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_std/bits/std_cstdlib.h

index a09e85f..6b657f9 100644 (file)
@@ -1,3 +1,7 @@
+2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
+
 2000-12-23  Benjamin Kosnik  <bkoz@redhat.com>
 
        * src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
index a43c1c5..0cd0359 100644 (file)
@@ -85,6 +85,9 @@ namespace std
   extern "C" long int labs(long int); 
   extern "C" div_t div(int, int); 
   extern "C" ldiv_t ldiv(long int, long int); 
+#ifdef mblen
+#undef mblen
+#endif
   extern "C" int mblen(const char*, size_t); 
   extern "C" int mbtowc(wchar_t*, const char*, size_t); 
   extern "C" int wctomb(char*, wchar_t);