http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745
--- Comment #17 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-07-15 10:53:11 UTC --- Indeed, I was having the same thought... _GLIBCXX_HAS_GTHREADS is a bit stricter though (doesn't allow 0), but would do. And I agree that in that case we should use another name. Essentially, about the ordering, just double check that, as should normally be, c++config.h is included before anything else.