<p dir="ltr">That's by design.</p>
<div class="gmail_quote">On Feb 26, 2016 7:44 AM, "Stephan Bergmann via cfe-dev" <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there some sort of feature-test macro that client code can use to determine whether it is being compiled against libc++abi?<br>
<br>
I see that there is<br>
<br>
  #define _LIBCPPABI_VERSION 1002<br>
<br>
in the libc++abi-provided cxxabi.h.  It would apparently happen to help tell libc++abi from libstdc++/libsupc++ (where _LIBCPPABI_VERSION is left undefined after #include <cxxabi.h>), but I'm not sure whether that's by design or by accident?<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>