pathscale/stdcxx — pull request #5 by tob2 (2012-12-27 11:29:31+00:00)
Title: Fix mbstate_t support on GLIBC 2.16/2.17

GLIBC < 2.16 requires __mbstate_t_defined while GLIBC 2.16 requires
____mbstate_t_defined. Also setting the former in 2.16 leads to failures,
e.g. for "#include . The change was required due to the GLIBC patch
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=db6af3ebf46a83b885455dc03a3c2c1c2c2dedec

* include/rw/_mbstate.h (mbstate_t): Include features and use __GLIBC__
and __GLIBC_MINOR__ for defingin ____mbstate_t_defined vs. __mbstate_t_defined.