| commit | c8bf96182dc24439a097d24b158d1901eedf077a | [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 | bb704193cedd4c77f1f814cf93f9f07125f107ec | |
| parent | 5865d12e9fb54a55421e31bcfad0f3d5435d87fb [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. llvm-svn: 290791