The behavior of this macro actually needs to apply universally on
Windows and not just when using the Microsoft CRT. Update the macro
definition and documentation accordingly.
Details
Diff Detail
- Build Status
Buildable 55 Build 55: arc lint + arc unit
Event Timeline
My initial understanding of the problem was incorrect; I did some further experimentation and I think I properly understand what's going on here now. Sorry for the churn.
Sigh. Make an expedient choice that you don't really agree with, and you get immediately reminded of it. I suggested on an earlier review (not this patch) that I really didn't want to see _WIN32 in any files other than <config>, that we should have a libc++-specific one. I let that slide because we had a couple other instances of _WIN32 in the source base.
About three days later, this pops up. :-(
Not your fault, but it makes me sad.
I'm not a fan either :) Gonna commit this and then send something to cfe-dev about cleaning them up.
Not sure why Phabricator isn't closing this out, but this was committed as SVN r284016