commit | f7e84953a527220cab4817a1f10d6a2dad1235b8 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sat Dec 31 21:24:04 2016 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Sat Dec 31 21:24:04 2016 +0000 |
tree | 9ff163a2839683a692c7866d8b6b5e4cf4bbe642 | |
parent | 5334ba74948dfa1a130facbc91c1a6c88268e8bc [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290791 91177308-0d34-0410-b5e6-96231b3b80d8