Please sign in to comment.
Fix mbstate_t for GLIBC 2.16
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 <iostream>. 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.
- Loading branch information...