Commit e7f115de by Bernardo Innocenti Committed by Bernardo Innocenti

* include/c_std/std_cstdlib.h: Avoid using missing C library symbols.

From-SVN: r71127
parent e86ac6af
2003-08-09 Bernardo Innocenti <bernie@develer.com>
* include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
2003-09-04 Petur Runolfsson <peturr02@ru.is> 2003-09-04 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9028 PR libstdc++/9028
......
...@@ -101,9 +101,11 @@ namespace std ...@@ -101,9 +101,11 @@ namespace std
using ::labs; using ::labs;
using ::ldiv; using ::ldiv;
using ::malloc; using ::malloc;
#ifdef _GLIBCXX_HAVE_MBSTATE_T
using ::mblen; using ::mblen;
using ::mbstowcs; using ::mbstowcs;
using ::mbtowc; using ::mbtowc;
#endif // _GLIBCXX_HAVE_MBSTATE_T
using ::qsort; using ::qsort;
using ::rand; using ::rand;
using ::realloc; using ::realloc;
...@@ -112,8 +114,10 @@ namespace std ...@@ -112,8 +114,10 @@ namespace std
using ::strtol; using ::strtol;
using ::strtoul; using ::strtoul;
using ::system; using ::system;
#ifdef _GLIBCXX_USE_WCHAR_T
using ::wcstombs; using ::wcstombs;
using ::wctomb; using ::wctomb;
#endif // _GLIBCXX_USE_WCHAR_T
inline long inline long
abs(long __i) { return labs(__i); } abs(long __i) { return labs(__i); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment