fix winRT macro
Merge pull request #8767 from andyque/fixIOSIssue

fix winRT macro