commit | 9a13b433e32679309eb51c7d873acc0829154593 | [log] [tgz] |
---|---|---|
author | Shoaib Meenai <smeenai@fb.com> | Thu Apr 06 04:47:49 2017 +0000 |
committer | Shoaib Meenai <smeenai@fb.com> | Thu Apr 06 04:47:49 2017 +0000 |
tree | 0edb0ecd97de985514c91107f3b283f6b20ce16c | |
parent | 2fe5562fc1789c2c3bfae0434e3f18f0d331f2c0 [diff] |
[libc++] Respect Windows Store app CRT restrictions 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 Windows Store.) [1] https://docs.microsoft.com/en-us/cpp/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps Differential Revision: https://reviews.llvm.org/D31737 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@299625 91177308-0d34-0410-b5e6-96231b3b80d8