diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-04-06 04:47:49 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-04-06 04:47:49 +0000 |
commit | 5dc5a8e5be002ed478cbdf457ead9ae7ff84152f (patch) | |
tree | 1bf66c95c00e0a6814418574409e59fc8c4c6533 /llvm/lib/Analysis | |
parent | be65893bc77f60fc6902724f38d54549a51c10e9 (diff) | |
download | bcm5719-llvm-5dc5a8e5be002ed478cbdf457ead9ae7ff84152f.tar.gz bcm5719-llvm-5dc5a8e5be002ed478cbdf457ead9ae7ff84152f.zip |
[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
llvm-svn: 299625
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions