[PATCH] D31737: [libc++] Respect Windows Store app CRT restrictions

2017-04-05 Thread Shoaib Meenai via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL299625: [libc++] Respect Windows Store app CRT restrictions (authored by smeenai). Changed prior to commit: https://reviews.llvm.org/D31737?vs=94308&id=94317#toc Repository: rL LLVM https://reviews.

[PATCH] D31737: [libc++] Respect Windows Store app CRT restrictions

2017-04-05 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai created this revision. Some CRT APIs are unavailable for Windows Store apps [1]. Detect when we're targeting the Windows Store and don't try to refer to non-existent CRT functions in that case. (This would otherwise lead to a compile error when using the libc++ headers and compiling for Wi