* 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 a09e85f324d76d831fa3e75b391732a47809b430..6b657f900fcb01ca237db988e8d0b18275bae9e2 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 a43c1c58b909c51adace6cdfed2de7a76191db19..0cd0359167f34e8e3a2814dcf06a083adf8792d1 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);