[libc++] Use more appropriate conditional for ABI macro definition
authorShoaib Meenai <smeenai@fb.com>
Wed, 12 Apr 2017 19:56:37 +0000 (19:56 +0000)
committerShoaib Meenai <smeenai@fb.com>
Wed, 12 Apr 2017 19:56:37 +0000 (19:56 +0000)
commit538b3f419835de3147c529c8214a41ad089af777
tree3c6c6cc4ab4ad9497ef55ccdaf664792d9984862
parent55306e706d0aa9df966a3a5ed5cf4c38cdce5d75
[libc++] Use more appropriate conditional for ABI macro definition

The inline function definition ABI macro is gated on COFF dllexport
semantics, so it's more appropriate to mark it with the object file
format macro rather than the generic _WIN32 macro. We now have no uses
of _WIN32 apart from those used to define the other Windows macros :)

Clarify the ABI macro comment and make the object file format check
exhaustive while I'm here.

llvm-svn: 300097
libcxx/include/__config