* include/c_compatibility/stdlib.h: Include wide character related
definitions only when they are available in cstdlib.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232835
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-01-26 Andris Pavenis <andris.pavenis@iki.fi>
+
+ * include/c_compatibility/stdlib.h: Include wide character related
+ definitions only when they are available in cstdlib.
+
2016-01-25 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/69464
using std::labs;
using std::ldiv;
using std::malloc;
+#ifdef _GLIBCXX_HAVE_MBSTATE_T
using std::mblen;
using std::mbstowcs;
using std::mbtowc;
+#endif // _GLIBCXX_HAVE_MBSTATE_T
using std::qsort;
using std::rand;
using std::realloc;
using std::strtol;
using std::strtoul;
using std::system;
+#ifdef _GLIBCXX_USE_WCHAR_T
using std::wcstombs;
using std::wctomb;
+#endif // _GLIBCXX_USE_WCHAR_T
#endif
#endif