This is an archive of the discontinued LLVM Phabricator instance.

[Support] Fix some Wundef warnings
ClosedPublic

Authored by svenvh on Aug 22 2018, 8:30 AM.

Details

Summary

For the _WIN32 macro, it is the definedness that matters rather than
the value. Most uses already rely on the definedness; this commit
fixes the few remaining uses that relied on the value.

Diff Detail

Repository
rL LLVM

Event Timeline

svenvh created this revision.Aug 22 2018, 8:30 AM
zturner accepted this revision.Aug 22 2018, 8:41 AM
This revision is now accepted and ready to land.Aug 22 2018, 8:41 AM
This revision was automatically updated to reflect the committed changes.