diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-12-31 21:24:04 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-12-31 21:24:04 +0000 |
commit | c8bf96182dc24439a097d24b158d1901eedf077a (patch) | |
tree | bb704193cedd4c77f1f814cf93f9f07125f107ec /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5865d12e9fb54a55421e31bcfad0f3d5435d87fb (diff) | |
download | bcm5719-llvm-c8bf96182dc24439a097d24b158d1901eedf077a.tar.gz bcm5719-llvm-c8bf96182dc24439a097d24b158d1901eedf077a.zip |
system_error: use strerror_r only for threaded code
When building libc++ without threading, strerror_r is not used. Define
the code only when threading is enabled. This allows us to build
system_error for Windows, which ATM doesn't build with threading.
llvm-svn: 290791
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions