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

From-SVN: r71127
This commit is contained in:
Bernardo Innocenti 2003-09-06 03:01:01 +02:00 committed by Bernardo Innocenti
parent e86ac6af9a
commit e7f115de8d
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
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>
PR libstdc++/9028

View file

@ -101,9 +101,11 @@ namespace std
using ::labs;
using ::ldiv;
using ::malloc;
#ifdef _GLIBCXX_HAVE_MBSTATE_T
using ::mblen;
using ::mbstowcs;
using ::mbtowc;
#endif // _GLIBCXX_HAVE_MBSTATE_T
using ::qsort;
using ::rand;
using ::realloc;
@ -112,8 +114,10 @@ namespace std
using ::strtol;
using ::strtoul;
using ::system;
#ifdef _GLIBCXX_USE_WCHAR_T
using ::wcstombs;
using ::wctomb;
#endif // _GLIBCXX_USE_WCHAR_T
inline long
abs(long __i) { return labs(__i); }