Better <bits/c++config.h> detection
Summary: When worrying about only 2 cpp libraries, detection of "is this libstdc++ or libc++" works, but when throwing in a third option (msvc) this becomes a very brittle way of detecting features. Also depending on how clang is used it may or may not have this header about Changed to instead use configuration value for "do we have this header file" for including bits/c++config.h and changed the logic to be identical in all three use cases Test Plan: fbmake runtests Reviewed By: njormrod@fb.com FB internal diff: D1291547
Showing
Please register or sign in to comment